Beispiel #1
0
        public CharacterPet(PetStatusInfo p, string name)
        {
            this.CharacterID = name;
            this.PetID       = p.PetID;
            this.PetName     = p.PetName;
            this.PetType     = p.PetType;
            this.Slot        = p.Slot;
            this.Level       = p.Level;
            this.Exp         = p.Exp;
            this.Desire      = p.Desire;

            this.Stat        = PetStatElementToBson(p.Stat);
            this.Skills      = PetSkillElementListToBson(p.Skills);
            this.Accessories = PetAccessoryElementListToBson(p.Accessories);

            this.PetStatus         = p.PetStatus;
            this.RemainActiveTime  = p.RemainActiveTime;
            this.RemainExpiredTime = p.RemainExpiredTime;
        }
Beispiel #2
0
 public CharacterSummary(long cid, int nexonSN, string characterID, int characterSN, BaseCharacter baseCharacter, int level, int exp, int levelUpExp, int title, int titleCount, CostumeInfo costume, int dailyMicroPlayCount, int dailyFreePlayCount, int totalUsedAP, string quote, int gid, string gname, int cafeType, bool isPremium, bool hasBonusEffect, bool isReturn, bool isDeleting, int deleteWaitLeftSec, bool isShouldNameChange, int VIPCode, VocationEnum vocationClass, int vocationLevel, int vocationExp, int vocationLevelUpExp, int vocationSkillPointAvailable, int freeMatchWinCount, int freeMatchLoseCount, PetStatusInfo pet, bool isEventJumping, string FreeTitleName, int pattern, int arenaWinCount, int arenaLoseCount, int arenaSuccessiveWinCount)
 {
     this.CID                         = cid;
     this.NexonSN                     = nexonSN;
     this.CharacterID                 = characterID;
     this.CharacterSN                 = characterSN;
     this.BaseCharacter               = baseCharacter;
     this.Level                       = level;
     this.Exp                         = exp;
     this.LevelUpExp                  = levelUpExp;
     this.Title                       = title;
     this.TitleCount                  = titleCount;
     this.Costume                     = (costume ?? new CostumeInfo());
     this.DailyMicroPlayCount         = dailyMicroPlayCount;
     this.DailyFreePlayCount          = dailyFreePlayCount;
     this.TotalUsedAP                 = totalUsedAP;
     this.Quote                       = (quote ?? "");
     this.GuildId                     = gid;
     this.GuildName                   = (gname ?? "");
     this.CafeType                    = cafeType;
     this.IsPremium                   = isPremium;
     this.HasBonusEffect              = hasBonusEffect;
     this.IsReturn                    = isReturn;
     this.IsDeleting                  = isDeleting;
     this.DeleteWaitLeftSec           = deleteWaitLeftSec;
     this.IsShouldNameChange          = isShouldNameChange;
     this.VIPCode                     = VIPCode;
     this.VocationClass               = vocationClass;
     this.VocationExp                 = vocationExp;
     this.VocationLevel               = vocationLevel;
     this.VocationLevelUpExp          = vocationLevelUpExp;
     this.VocationSkillPointAvailable = vocationSkillPointAvailable;
     this.FreeMatchWinCount           = freeMatchWinCount;
     this.FreeMatchLoseCount          = freeMatchLoseCount;
     this.Pet                         = pet;
     this.IsEventJumping              = isEventJumping;
     this.FreeTitleName               = (FreeTitleName ?? "");
     this.Pattern                     = pattern;
     this.ArenaWinCount               = arenaWinCount;
     this.ArenaLoseCount              = arenaLoseCount;
     this.ArenaSuccessiveWinCount     = arenaSuccessiveWinCount;
 }