Difference between revisions of "TGame"
m (→Members) |
m (→Members) |
||
Line 52: | Line 52: | ||
<tr><td>property [[TGame.Teams|Teams]][ID: Byte]: [[TTeam]]</td><td>R</td></tr> | <tr><td>property [[TGame.Teams|Teams]][ID: Byte]: [[TTeam]]</td><td>R</td></tr> | ||
<tr><td>property [[TGame.OnClockTick|OnClockTick]]: [[TOnClockTickEvent]]</td><td>RW</td></tr> | <tr><td>property [[TGame.OnClockTick|OnClockTick]]: [[TOnClockTickEvent]]</td><td>RW</td></tr> | ||
− | <tr><td>property [[TGame.OnJoin|OnJoin]]: [[ | + | <tr><td>property [[TGame.OnJoin|OnJoin]]: [[TOnJoinGameEvent]] </td><td>RW</td></tr> |
− | <tr><td>property [[TGame.OnLeave|OnLeave]]: [[ | + | <tr><td>property [[TGame.OnLeave|OnLeave]]: [[TOnLeaveGameEvent]]</td><td>RW</td></tr> |
<tr><td>property [[TGame.OnRequest|OnRequest]]: [[TOnRequestEvent]]</td><td>RW</td></tr> | <tr><td>property [[TGame.OnRequest|OnRequest]]: [[TOnRequestEvent]]</td><td>RW</td></tr> | ||
</table> | </table> | ||
</code> | </code> | ||
[[Category:Classes]][[Category:TGame]] | [[Category:Classes]][[Category:TGame]] |
Revision as of 13:10, 26 July 2013
Inheritance
Description
Represents a game state and configuration.
user constructable: NO
user destructable: NO
Members
Member declaration | Access mode |
---|---|
procedure Shutdown | |
procedure StartVoteKick(ID: Byte; Reason: string) | |
procedure StartVoteMap(Name: string) | |
procedure Restart | |
function LoadWeap(WeaponMod: string): Boolean | |
function LoadCon(ConfigFile: string): Boolean | |
function LoadList(MapsList: string): Boolean | |
procedure LobbyRegister | |
property GameStyle: Byte | RW |
property MaxPlayers: Byte | RW |
property NextMap: string | R |
property NumBots: Byte | R |
property NumPlayers: Byte | R |
property Spectators: Byte | R |
property ScoreLimit: Byte | RW |
property ServerIP: string | R |
property ServerName: string | R |
property ServerPort: Word | R |
property ServerVersion: string | R |
property ServerInfo: string | R |
property Gravity: Single | RW |
property Paused: Boolean | RW |
property RespawnTime: LongInt | RW |
property MinRespawnTime: LongInt | RW |
property MaxRespawnTime: LongInt | RW |
property MaxGrenades: Byte | RW |
property Bonus: Byte | RW |
property TimeLimit: LongInt | RW |
property TimeLeft: LongInt | R |
property FriendlyFire: Boolean | RW |
property Password: string | RW |
property VotePercent: Single | RW |
property Realistic: Boolean | RW |
property Survival: Boolean | RW |
property Advance: Boolean | RW |
property Balance: Boolean | RW |
property TickThreshold: LongInt | RW |
property Teams[ID: Byte]: TTeam | R |
property OnClockTick: TOnClockTickEvent | RW |
property OnJoin: TOnJoinGameEvent | RW |
property OnLeave: TOnLeaveGameEvent | RW |
property OnRequest: TOnRequestEvent | RW |