| Class TChatUsers (unit ChatChannel) |
TObject
| Constructors |
constructor Create;| Functions |
function AddUser (const Callback: IChatEvent; var UserId : integer): boolean;
function Count : integer;
function DeleteUser (UserId : integer) : boolean;
destructor Destroy;
function FindUser (UserId : integer) : integer;
function GetItems (i : integer) : TChatUser;| Properties |
property Items : TChatUser| Events |
| Variables |
FItems : TList;
FLastUserId : integer;| Constructors |
constructor Create;returns a single TChatUser by index
| Functions |
function AddUser (const Callback: IChatEvent; var UserId : integer): boolean;destroy internal TChatUsers list
function Count : integer;if
function DeleteUser (UserId : integer) : boolean;add a new TChatUser to the internal list and returns a unique UserId to caller
destructor Destroy;create internal TChatUsers list
function FindUser (UserId : integer) : integer;if
function GetItems (i : integer) : TChatUser;TChatUsers
| Properties |
property Items : TChatUser| Events |
| Variables |
FItems : TList;
FLastUserId : integer;