Пример #1
0
 public ItemCraftedAchievement(int id, int catid, int itemIcon, bool hiddenTillComplete, BaseAchievement prereq, int total, string title, string desc, short RewardPoints, Type item, params Type[] rewards)
     : base(id, catid, itemIcon, hiddenTillComplete, prereq, title, desc, RewardPoints, total, rewards)
 {
     m_Item = item;
     EventSink.CraftSuccess += EventSink_CraftSuccess;;
 }
Пример #2
0
 public DiscoveryAchievement(int id, int catid, int itemIcon, bool hiddenTillComplete, BaseAchievement prereq, string title, string desc, short RewardPoints, string region, params Type[] rewards)
     : base(id, catid, itemIcon, hiddenTillComplete, prereq, title, desc, RewardPoints, 1, rewards)
 {
     m_Region                 = region;
     CompletionTotal          = 1;
     EventSink.OnEnterRegion += EventSink_OnEnterRegion;
 }
Пример #3
0
 public HarvestAchievement(int id, int catid, int itemIcon, bool hiddenTillComplete, BaseAchievement prereq, int total, string title, string desc, short RewardPoints, Type targets, params Type[] rewards)
     : base(id, catid, itemIcon, hiddenTillComplete, prereq, title, desc, RewardPoints, total, rewards)
 {
     m_Item = targets;
     EventSink.ResourceHarvestSuccess += EventSink_ResourceHarvestSuccess;
 }
Пример #4
0
 public HunterAchievement(int id, int catid, int itemIcon, bool hiddenTillComplete, BaseAchievement prereq, int total, string title, string desc, short RewardPoints, Type targets, params Type[] rewards)
     : base(id, catid, itemIcon, hiddenTillComplete, prereq, title, desc, RewardPoints, total, rewards)
 {
     m_Mobile              = targets;
     EventSink.OnKilledBy += EventSink_OnKilledBy;
 }
Пример #5
0
 public BaseAchievement(int id, int catid, int itemIcon, bool hiddenTillComplete, BaseAchievement prereq, string title, string desc, short rewardPoints, int total, params Type[] rewards)
 {
     ID                 = id;
     CategoryID         = catid;
     Title              = title;
     Desc               = desc;
     RewardPoints       = rewardPoints;
     CompletionTotal    = total;
     RewardItems        = rewards;
     HiddenTillComplete = hiddenTillComplete;
     ItemIcon           = itemIcon;
 }