示例#1
0
 public WonderMailJob(WonderMailJob mail)
 {
     mission = new WonderMail(new PlayerDataJobListItem());
     mission.Data1 = mail.Mission.Data1;
     mission.Data2 = mail.Mission.Data2;
     mission.Difficulty = mail.Mission.Difficulty;
     mission.DungeonIndex = mail.Mission.DungeonIndex;
     mission.DungeonMapNum = mail.Mission.DungeonMapNum;
     mission.GoalMapIndex = mail.Mission.GoalMapIndex;
     mission.GoalName = mail.Mission.GoalName;
     mission.LoseStoryScript = mail.Mission.LoseStoryScript;
     mission.MissionClientIndex = mail.Mission.MissionClientIndex;
     mission.MissionType = mail.Mission.MissionType;
     mission.Mugshot = mail.Mission.Mugshot;
     mission.RDungeon = mail.Mission.RDungeon;
     mission.RDungeonFloor = mail.Mission.RDungeonFloor;
     mission.RewardIndex = mail.Mission.RewardIndex;
     mission.StartStoryScript = mail.Mission.StartStoryScript;
     mission.Summary = mail.Mission.Summary;
     mission.TargetIndex = mail.Mission.TargetIndex;
     mission.Title = mail.Mission.Title;
     mission.WinStoryScript = mail.Mission.WinStoryScript;
 }
示例#2
0
 public WonderMailJob(WonderMailJob mail)
 {
     mission                    = new WonderMail(new PlayerDataJobListItem());
     mission.Data1              = mail.Mission.Data1;
     mission.Data2              = mail.Mission.Data2;
     mission.Difficulty         = mail.Mission.Difficulty;
     mission.DungeonIndex       = mail.Mission.DungeonIndex;
     mission.DungeonMapNum      = mail.Mission.DungeonMapNum;
     mission.GoalMapIndex       = mail.Mission.GoalMapIndex;
     mission.GoalName           = mail.Mission.GoalName;
     mission.LoseStoryScript    = mail.Mission.LoseStoryScript;
     mission.MissionClientIndex = mail.Mission.MissionClientIndex;
     mission.MissionType        = mail.Mission.MissionType;
     mission.Mugshot            = mail.Mission.Mugshot;
     mission.RDungeon           = mail.Mission.RDungeon;
     mission.RDungeonFloor      = mail.Mission.RDungeonFloor;
     mission.RewardIndex        = mail.Mission.RewardIndex;
     mission.StartStoryScript   = mail.Mission.StartStoryScript;
     mission.Summary            = mail.Mission.Summary;
     mission.TargetIndex        = mail.Mission.TargetIndex;
     mission.Title              = mail.Mission.Title;
     mission.WinStoryScript     = mail.Mission.WinStoryScript;
 }
示例#3
0
 public void LoadJobList(List<PlayerDataJobListItem> databaseJobList)
 {
     for (int i = 0; i < databaseJobList.Count; i++) {
         WonderMailJob job = new WonderMailJob(databaseJobList[i]);
         if (Generator.AreIndicesLegal(job.Mission)) {
             Generator.CalculateMailGoal(job.Mission);
             Scripting.ScriptManager.InvokeSub("CreateMissionInfo", job.Mission);
             jobList.Add(job);
         }
     }
 }