Пример #1
0
 public FollowerEvent(FollowerEventTypes eventType, FollowerData origin, FollowerData cost, FollowerData option, FollowerData requirement, string reason)
 {
     EventType   = eventType;
     this.Origin = origin;
     Cost        = cost;
     Option      = option;
     Requirement = requirement;
     Reason      = reason;
 }
Пример #2
0
 public static void Trigger(FollowerEventTypes eventType, FollowerData origin, FollowerData cost, FollowerData option, FollowerData requirement, string reason)
 {
     e.EventType   = eventType;
     e.Origin      = origin;
     e.Cost        = cost;
     e.Option      = option;
     e.Requirement = requirement;
     e.Reason      = reason;
     MMEventManager.TriggerEvent(e);
 }