historical/toontown-classic.git/toontown/uberdog/DataStoreGlobals.py

13 lines
294 B
Python
Raw Normal View History

2024-01-16 11:20:27 -06: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