Exemplo n.º 1
0
 public PetStatusInfo(PetStatusInfo rhs)
 {
     this.PetID             = rhs.PetID;
     this.PetName           = rhs.PetName;
     this.PetType           = rhs.PetType;
     this.Slot              = rhs.Slot;
     this.Level             = rhs.Level;
     this.Exp               = rhs.Exp;
     this.Desire            = rhs.Desire;
     this.Stat              = new PetStatElement(rhs.Stat);
     this.Skills            = new List <PetSkillElement>(rhs.Skills);
     this.Accessories       = new List <PetAccessoryElement>(rhs.Accessories);
     this.PetStatus         = rhs.PetStatus;
     this.RemainActiveTime  = rhs.RemainActiveTime;
     this.RemainExpiredTime = rhs.RemainExpiredTime;
 }
Exemplo n.º 2
0
 public UpdateCurrentPetMessage(int uid, PetStatusInfo currentPet)
 {
     this.UID        = uid;
     this.CurrentPet = currentPet;
 }