The event arguments for the OverlordIs event.
Inheritance: GameEventArgs
 public void ToString01785()
 {
     OverlordIsEventArgs overlordIsEventArgs;
     string s;
     overlordIsEventArgs = new OverlordIsEventArgs(1);
     ((GameEventArgs)overlordIsEventArgs).SenderId = 0;
     ((GameEventArgs)overlordIsEventArgs).EventId = (string)null;
     ((GameEventArgs)overlordIsEventArgs).EventType = (EventType)0;
     ((GameEventArgs)overlordIsEventArgs).NeedResponse = false;
     s = this.ToString01(overlordIsEventArgs);
     Assert.AreEqual<string>("1", s);
     Assert.IsNotNull((object)overlordIsEventArgs);
     Assert.AreEqual<int>(1, overlordIsEventArgs.PlayerId);
     Assert.AreEqual<int>(0, ((GameEventArgs)overlordIsEventArgs).SenderId);
     Assert.AreEqual<string>
     ((string)null, ((GameEventArgs)overlordIsEventArgs).EventId);
     Assert.AreEqual<EventType>
     ((EventType)0, ((GameEventArgs)overlordIsEventArgs).EventType);
     Assert.AreEqual<bool>(false, ((GameEventArgs)overlordIsEventArgs).NeedResponse);
 }
示例#2
0
 public OverlordIsEventArgs Constructor01(string[] stringArgs)
 {
     OverlordIsEventArgs target = new OverlordIsEventArgs(stringArgs);
     return target;
     // TODO: add assertions to method OverlordIsEventArgsTest.Constructor01(String[])
 }
示例#3
0
 public OverlordIsEventArgs Constructor(int playerId)
 {
     OverlordIsEventArgs target = new OverlordIsEventArgs(playerId);
     return target;
     // TODO: add assertions to method OverlordIsEventArgsTest.Constructor(Int32)
 }