public HostBanPlayerEventArgs(int Header, int PlayerID, int RoomID, HBans Ban) : base() { this.Header = Header; this.PlayerID = PlayerID; this.RoomID = RoomID; this.Ban = Ban; }
public static string Juice(this HBans Ban) { switch (Ban) { case HBans.Day: return("RWUAM_BAN_USER_DAY"); case HBans.Hour: return("RWUAM_BAN_USER_HOUR"); case HBans.Permanent: return("RWUAM_BAN_USER_PERM"); default: return("RWUAM_BAN_USER_DAY"); } }