static Portals() { CSOptions = new PortalsOptions(); PortalList = new BinaryDataStore<PortalSerial, Portal>( VitaNexCore.SavesDirectory + "/Portals", "PortalsList") { Async = true, OnSerialize = SerializePortals, OnDeserialize = DeserializePortals }; PlayerProfiles = new BinaryDataStore<PlayerMobile, PlayerPortalProfile>( VitaNexCore.SavesDirectory + "/Portals", "PlayerProfiles") { Async = true, OnSerialize = SerializePlayerProfiles, OnDeserialize = DeserializePlayerProfiles }; }
static Portals() { CSOptions = new PortalsOptions(); PortalList = new BinaryDataStore <PortalSerial, Portal>( VitaNexCore.SavesDirectory + "/Portals", "PortalsList") { Async = true, OnSerialize = SerializePortals, OnDeserialize = DeserializePortals }; PlayerProfiles = new BinaryDataStore <PlayerMobile, PlayerPortalProfile>( VitaNexCore.SavesDirectory + "/Portals", "PlayerProfiles") { Async = true, OnSerialize = SerializePlayerProfiles, OnDeserialize = DeserializePlayerProfiles }; }