Difference between revisions of "TGame"
m (→Description) |
m (→Members: Reformatted table to be consistent with other tables) |
||
| Line 11: | Line 11: | ||
==Members== | ==Members== | ||
| − | + | {| class="wikitable" | |
| − | + | |- | |
| − | + | ! Member declaration !! Access mode | |
| − | + | |- | |
| − | + | | procedure [[TGame.Shutdown|Shutdown]] | |
| − | + | | align="center" | | |
| − | + | |- | |
| − | + | | procedure [[TGame.StartVoteKick|StartVoteKick]](ID: Byte; Reason: string) | |
| − | + | | align="center" | | |
| − | + | |- | |
| − | + | | procedure [[TGame.StartVoteMap|StartVoteMap]](Name: string) | |
| − | + | | align="center" | | |
| − | + | |- | |
| − | + | | procedure [[TGame.Restart|Restart]] | |
| − | + | | align="center" | | |
| − | + | |- | |
| − | + | | function [[TGame.LoadWeap|LoadWeap]](WeaponMod: string): Boolean | |
| − | + | | align="center" | | |
| − | + | |- | |
| − | + | | function [[TGame.LoadCon|LoadCon]](ConfigFile: string): Boolean | |
| − | + | | align="center" | | |
| − | + | |- | |
| − | + | | function [[TGame.LoadList|LoadList]](MapsList: string): Boolean | |
| − | + | | align="center" | | |
| − | + | |- | |
| − | + | | procedure [[TGame.LobbyRegister|LobbyRegister]] | |
| − | + | | align="center" | | |
| − | + | |- | |
| − | + | | colspan="3" | | |
| − | + | |- | |
| − | + | | property [[TGame.GameStyle|GameStyle]]: Byte | |
| − | + | | align="center" | RW | |
| − | + | |- | |
| − | + | | property [[TGame.GameStyle|GameStyle]]: Byte | |
| − | + | | align="center" | RW | |
| − | + | |- | |
| − | + | | property [[TGame.MaxPlayers|MaxPlayers]]: Byte | |
| − | + | | align="center" | RW | |
| − | + | |- | |
| − | + | | property [[TGame.NextMap|NextMap]]: string | |
| − | + | | align="center" | R | |
| − | + | |- | |
| − | + | | property [[TGame.NumBots|NumBots]]: Byte | |
| − | + | | align="center" | R | |
| − | + | |- | |
| − | + | | property [[TGame.NumPlayers|NumPlayers]]: Byte | |
| − | + | | align="center" | R | |
| − | + | |- | |
| + | | property [[TGame.Spectators|Spectators]]: Byte | ||
| + | | align="center" | R | ||
| + | |- | ||
| + | | property [[TGame.ScoreLimit|ScoreLimit]]: Byte | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.ServerIP|ServerIP]]: string | ||
| + | | align="center" | R | ||
| + | |- | ||
| + | | property [[TGame.ServerName|ServerName]]: string | ||
| + | | align="center" | R | ||
| + | |- | ||
| + | | property [[TGame.ServerPort|ServerPort]]: Word | ||
| + | | align="center" | R | ||
| + | |- | ||
| + | | property [[TGame.ServerVersion|ServerVersion]]: string | ||
| + | | align="center" | R | ||
| + | |- | ||
| + | | property [[TGame.ServerInfo|ServerInfo]]: string | ||
| + | | align="center" | R | ||
| + | |- | ||
| + | | property [[TGame.Gravity|Gravity]]: Single | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.Paused|Paused]]: Boolean | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.RespawnTime|RespawnTime]]: LongInt | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.MinRespawnTime|MinRespawnTime]]: LongInt | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.MaxRespawnTime|MaxRespawnTime]]: LongInt | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.MaxGrenades|MaxGrenades]]: Byte | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.Bonus|Bonus]]: Byte | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.TimeLimit|TimeLimit]]: LongInt | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.TimeLeft|TimeLeft]]: LongInt | ||
| + | | align="center" | R | ||
| + | |- | ||
| + | | property [[TGame.FriendlyFire|FriendlyFire]]: Boolean | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property property [[TGame.Password|Password]]: string | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.VotePercent|VotePercent]]: Single | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.Realistic|Realistic]]: Boolean | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.Survival|Survival]]: Boolean | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.Advance|Advance]]: Boolean | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.Balance|Balance]]: Boolean | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.TickThreshold|TickThreshold]]: LongInt | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.Teams|Teams]][ID: Byte]: [[TTeam]] | ||
| + | | align="center" | R | ||
| + | |- | ||
| + | | property [[TGame.OnClockTick|OnClockTick]]: [[TOnClockTickEvent]] | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.OnJoin|OnJoin]]: [[TOnJoinGameEvent]] | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.OnLeave|OnLeave]]: [[TOnLeaveGameEvent]] | ||
| + | | align="center" | RW | ||
| + | |- | ||
| + | | property [[TGame.OnRequest|OnRequest]]: [[TOnRequestEvent]] | ||
| + | | align="center" | RW | ||
| + | |} | ||
| + | |||
[[Category:Classes]][[Category:TGame]] | [[Category:Classes]][[Category:TGame]] | ||
Revision as of 14:33, 29 July 2013
Inheritance
Description
Represents a game state and configuration.
This class is assigned to global variable "Game"
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 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 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 | |