Class TStatList (unit Pool_Mod_Unit)

Inherits from

TList

Constructors


constructor Create;

********************************************************************** TStatList


Functions

procedure AddStat(st: TPlayerStat);


procedure CalcPercentages(NumDrop: integer; TreatZero: boolean);


procedure ClearItems;


destructor Destroy;


procedure GetNumGames(pm : TPool_Module);


function ItemByID(UserID: integer): TPlayerStat;


function ItemByIdx(Idx: integer): TPlayerStat;


procedure ReSort;


procedure DoOneDrop;


procedure SetSort(SortParam: TStatSort);


Properties

property SortBy : TStatSort


Events

Variables

FSortBy : TStatSort;


NumGames : array[1..MAXWEEK] of integer;


WeekScored : array[1..MAXWEEK] of boolean;



Constructors


constructor Create;

********************************************************************** TStatList


Functions


procedure AddStat(st: TPlayerStat);


procedure CalcPercentages(NumDrop: integer; TreatZero: boolean);


procedure ClearItems;


destructor Destroy;


procedure GetNumGames(pm : TPool_Module);


function ItemByID(UserID: integer): TPlayerStat;


function ItemByIdx(Idx: integer): TPlayerStat;


procedure ReSort;


procedure DoOneDrop;


procedure SetSort(SortParam: TStatSort);


Properties


property SortBy : TStatSort


Events


Variables


FSortBy : TStatSort;


NumGames : array[1..MAXWEEK] of integer;


WeekScored : array[1..MAXWEEK] of boolean;