static PlayerScores() { CSOptions = new PlayerScoresOptions(); Registry = new BinaryDataStore<IEntity, Dictionary<Mobile, double>>( VitaNexCore.SavesDirectory + "/PlayerScores", "Scores") { Async = true, OnSerialize = SerializeScores, OnDeserialize = DeserializePlayerScores }; }
static PlayerScores() { CSOptions = new PlayerScoresOptions(); Registry = new BinaryDataStore <IEntity, Dictionary <Mobile, double> >( VitaNexCore.SavesDirectory + "/PlayerScores", "Scores") { Async = true, OnSerialize = SerializeScores, OnDeserialize = DeserializePlayerScores }; }