Example #1
0
 public RetainerTaskData(RetainerTask task, RetainerTaskRandom rand)
 {
     Id = task.Key;
     ClassJobCategory  = task.ClassJobCategory;
     IsRandom          = task.IsRandom;
     RetainerLevel     = task.RetainerLevel;
     VentureCost       = task.VentureCost;
     MaxTime           = task.MaxTime;
     Experience        = task.Experience;
     RequiredItemLevel = task.RequiredItemLevel;
     RequiredGathering = task.RequiredGathering;
     NameRaw           = rand.Name;
     ItemId            = 0;
 }
Example #2
0
 public RetainerTaskData(RetainerTask task, RetainerTaskNormal norm)
 {
     Id = task.Key;
     ClassJobCategory  = task.ClassJobCategory;
     IsRandom          = task.IsRandom;
     RetainerLevel     = task.RetainerLevel;
     VentureCost       = task.VentureCost;
     MaxTime           = task.MaxTime;
     Experience        = task.Experience;
     RequiredItemLevel = task.RequiredItemLevel;
     RequiredGathering = task.RequiredGathering;
     NameRaw           = norm.Item.Name.ToString();
     ItemId            = norm.Item.Key;
 }
Example #3
0
 public RetainerTaskData(RetainerTask task, RetainerTaskBase rand)
 {
     Id = task.Key;
     ClassJobCategory  = task.ClassJobCategory;
     IsRandom          = task.IsRandom;
     RetainerLevel     = task.RetainerLevel;
     VentureCost       = task.VentureCost;
     MaxTime           = task.MaxTime;
     Experience        = task.Experience;
     RequiredItemLevel = task.RequiredItemLevel;
     RequiredGathering = task.RequiredGathering;
     if (IsRandom)
     {
         NameRaw = ((RetainerTaskRandom)rand).Name;
         ItemId  = 0;
     }
     else
     {
         NameRaw = ((RetainerTaskNormal)rand).Item.Name.ToString();
         ItemId  = ((RetainerTaskNormal)rand).Item.Key;
     }
 }