예제 #1
0
 internal CommunityGoalJoinEvent InvokeEvent(CommunityGoalJoinEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         CommunityGoalJoin?.Invoke(_api, arg);
     }
     return(arg);
 }
예제 #2
0
 private static void AssertEvent(CommunityGoalJoinEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2017-08-14T13:20:28Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
     Assert.Equal(726, @event.GoalId);
     Assert.Equal("Alliance Research Initiative – Trade", @event.Name);
     Assert.Equal("Kaushpoos", @event.System);
 }
예제 #3
0
 internal void InvokeCommunityGoalJoinEvent(CommunityGoalJoinEvent arg)
 {
     CommunityGoalJoinEvent?.Invoke(this, arg);
 }
예제 #4
0
 internal void InvokeCommunityGoalJoinEvent(CommunityGoalJoinEvent arg) => CommunityGoalJoinEvent?.Invoke(null, arg);