示例#1
0
 static void AddCharacterData(string _Player, CharacterData _CharacterData, DateTime _DateTime)
 {
     if (sm_OldHistory.ContainsKey(_Player) == false)
     {
         sm_OldHistory.Add(_Player, new PlayerData.PlayerHistory());
     }
     sm_OldHistory[_Player].AddToHistory(_CharacterData, new UploadID(0, _DateTime));
 }
示例#2
0
        static CharacterData GenerateCharacterData_LVL60(PlayerRace _Race, PlayerClass _Class, PlayerSex _Sex)
        {
            CharacterData characterData = new CharacterData("");

            characterData.Race  = _Race;
            characterData.Class = _Class;
            characterData.Sex   = _Sex;
            characterData.Level = 60;
            return(characterData);
        }
示例#3
0
 public CharacterDataHistoryItem(SerializationInfo _Info, StreamingContext _Context)
 {
     Data     = (CharacterData)_Info.GetValue("Data", typeof(CharacterData));
     Uploader = (UploadID)_Info.GetValue("Uploader", typeof(UploadID));
 }
示例#4
0
 //public CharacterDataHistoryItem()
 //{ }
 public CharacterDataHistoryItem(CharacterData _Character, UploadID _Uploader)
 {
     Data     = _Character;
     Uploader = _Uploader;
 }
示例#5
0
 public void AddToHistory(CharacterData _CharacterData, UploadID _Uploader)
 {
     UtilityClass.AddToHistory.RunGeneric(CharacterHistory, _CharacterData, _Uploader);
 }