TBanLists

From Soldat Community Wiki
Revision as of 14:13, 9 September 2016 by Mighty (talk | contribs) (Created page with "==Inheritance== *TBanLists ==Description== Class used to hold information about bans. '''This class is assigned to global variable "Game.BansList"'''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Inheritance

Description

Class used to hold information about bans.

This class is assigned to global variable "Game.BansList"
user constructable: NO
user destructable: NO

Members

Member declaration Access mode SS Version
procedure AddHWBan(HW, Reason: string; Duration: Integer); 2.7.9
procedure AddIPBan(IP: ShortString; Reason: string; Duration: Integer);
function DelHWBan(HW: string): Boolean;
function DelIPBan(IP: ShortString): Boolean;
function IsBannedHW(HW: string): Boolean;
functionIsBannedIP(IP: ShortString): Boolean;
function GetHWBanId(HW: string): Integer;
function GetIPBanId(IP: ShortString): Integer;
property HW: array of TBannedHW R 2.7.9
property IP : array of TBannedIP R
property BannedHWCount: Integer R
property BannedIPCount: Integer R