public OpenPartyWithShipInfoMessage(string questID, string title, int swearID, ShipOptionInfo option)
 {
     this.QuestID = questID;
     this.Title   = title;
     this.SwearID = swearID;
     this.Option  = option;
 }
示例#2
0
 public AcceptQuestMessage(string questID, string title, int swearID, ShipOptionInfo option, bool isSeason2, ICollection <int> selectedBossQuestIDInfos)
 {
     this.questID = questID;
     this.title   = title;
     this.swearID = swearID;
     this.option  = option;
 }
示例#3
0
 public void Merge(ShipOptionInfo rhs)
 {
     if (rhs.MaxMemberCount > 0)
     {
         this.MaxMemberCount = rhs.MaxMemberCount;
     }
     if (rhs.SwearMemberLimit > 0)
     {
         this.SwearMemberLimit = rhs.SwearMemberLimit;
     }
     if (rhs.UntilForceStart > 0)
     {
         this.UntilForceStart = rhs.UntilForceStart;
     }
     if (rhs.MinLevel > 0)
     {
         this.MinLevel = rhs.MinLevel;
     }
     if (rhs.MaxLevel > 0)
     {
         this.MaxLevel = rhs.MaxLevel;
     }
     if (rhs.IsPartyOnly > 0)
     {
         this.IsPartyOnly = rhs.IsPartyOnly;
     }
     if (rhs.Over18Only > 0)
     {
         this.Over18Only = rhs.Over18Only;
     }
     if (rhs.Difficulty >= 0)
     {
         this.Difficulty = rhs.Difficulty;
     }
     this.IsSeason2 = rhs.IsSeason2;
     this.SelectedBossQuestIDInfos = rhs.SelectedBossQuestIDInfos;
     if (rhs.IsPracticeMode)
     {
         this.IsPracticeMode = true;
     }
     if (rhs.UserDSMode)
     {
         this.UserDSMode = true;
     }
 }