oldschool-toontown/toontown/uberdog/DataStoreGlobals.py

13 lines
294 B
Python
Raw Permalink Normal View History

2019-11-02 17:27:54 -05:00
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