static EventScores()
        {
            CSOptions = new EventScoresOptions();

            PlayerProfiles = new BinaryDataStore<PlayerMobile, PlayerEventScoreProfile>(
                VitaNexCore.SavesDirectory + "/EventScores", "PlayerProfiles")
            {
                Async = true,
                OnSerialize = SerializePlayerProfiles,
                OnDeserialize = DeserializePlayerProfiles
            };
        }
Exemple #2
0
        static EventScores()
        {
            CSOptions = new EventScoresOptions();

            PlayerProfiles = new BinaryDataStore <PlayerMobile, PlayerEventScoreProfile>(
                VitaNexCore.SavesDirectory + "/EventScores", "PlayerProfiles")
            {
                Async         = true,
                OnSerialize   = SerializePlayerProfiles,
                OnDeserialize = DeserializePlayerProfiles
            };
        }