oldschool-toontown/toontown/uberdog/DataStoreGlobals.py
2019-11-02 18:27:54 -04:00

12 lines
294 B
Python

from toontown.uberdog.ScavengerHuntDataStore import *
from toontown.uberdog.DataStore import *
SH = 1
GEN = 2
TYPES = {SH: (ScavengerHuntDataStore,),
GEN: (DataStore,)}
def getStoreClass(type):
storeClass = TYPES.get(type, None)
if storeClass:
return storeClass[0]
return