public PlayerDisconnectPacket(PlayerDisconnectType type, string reason, int duration = 0)
 {
     this.Type     = type;
     this.Reason   = reason;
     this.Duration = duration;
 }
Example #2
0
 public PlayerKickEventArgs(string reason, PlayerDisconnectType type)
 {
     this.Reason = reason;
     this.Type   = type;
 }