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; }
public UpdateCurrentPetMessage(int uid, PetStatusInfo currentPet) { this.UID = uid; this.CurrentPet = currentPet; }