static ZombieEvent() { CSOptions = new ZombieEventOptions(); ZombieEvents = new BinaryDataStore<ZombieInstanceSerial, ZombieInstance>( VitaNexCore.SavesDirectory + "/Zombies", "ZombieInstances") { Async = true, OnSerialize = SerializeZombieEvent, OnDeserialize = DeserializeZombieEvent }; PlayerProfiles = new BinaryDataStore<PlayerMobile, PlayerZombieProfile>( VitaNexCore.SavesDirectory + "/Zombies", "PlayerProfiles") { Async = true, OnSerialize = SerializePlayerProfiles, OnDeserialize = DeserializePlayerProfiles }; }
static ZombieEvent() { CSOptions = new ZombieEventOptions(); ZombieEvents = new BinaryDataStore <ZombieInstanceSerial, ZombieInstance>( VitaNexCore.SavesDirectory + "/Zombies", "ZombieInstances") { Async = true, OnSerialize = SerializeZombieEvent, OnDeserialize = DeserializeZombieEvent }; PlayerProfiles = new BinaryDataStore <PlayerMobile, PlayerZombieProfile>( VitaNexCore.SavesDirectory + "/Zombies", "PlayerProfiles") { Async = true, OnSerialize = SerializePlayerProfiles, OnDeserialize = DeserializePlayerProfiles }; }