Difference between revisions of "TGame"
(Created page with "==Inheritance== *TGame ==Description== Represents a game state. user constructable: '''NO'''<br> user destructable: '''NO''' ==Members== <code> <table> <tr><th>Memb...") |
|||
Line 3: | Line 3: | ||
==Description== | ==Description== | ||
− | Represents a game state. | + | Represents a game state and configuration. |
user constructable: '''NO'''<br> | user constructable: '''NO'''<br> | ||
Line 17: | Line 17: | ||
<tr><td>procedure [[TGame.Restart|Restart]]</td></tr> | <tr><td>procedure [[TGame.Restart|Restart]]</td></tr> | ||
<tr><td>function [[TGame.LoadWeap|LoadWeap]](WeaponMod: string): Boolean</td></tr> | <tr><td>function [[TGame.LoadWeap|LoadWeap]](WeaponMod: string): Boolean</td></tr> | ||
+ | <tr><td>function LoadCon(ConfigFile: string): Boolean</td></tr> | ||
+ | <tr><td>function LoadList(MapsList: string): Boolean</td></tr> | ||
+ | <tr><td>procedure LobbyRegister</td></tr> | ||
<tr><td></td></tr> | <tr><td></td></tr> | ||
+ | <tr><td>property [[TGame.GameStyle|GameStyle]]: Byte</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.MaxPlayers|MaxPlayers]]: Byte</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.NextMap|NextMap]]: string</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.NumBots|NumBots]]: Byte</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.NumPlayers|NumPlayers]]: Byte</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.Spectators|Spectators]]: Byte</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.ScoreLimit|ScoreLimit]]: Byte</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.ServerIP|ServerIP]]: string</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.ServerName|ServerName]]: string</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.ServerPort|ServerPort]]: Word</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.ServerVersion|ServerVersion]]: string</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.ServerInfo|ServerInfo]]: string</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.Gravity|Gravity]]: Single</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.Paused|Paused]]: Boolean</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.RespawnTime|RespawnTime]]: LongInt</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.MinRespawnTime|MinRespawnTime]]: LongInt</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.MaxRespawnTime|MaxRespawnTime]]: LongInt</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.MaxGrenades|MaxGrenades]]: Byte</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.Bonus|Bonus]]: Byte</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.TimeLimit|TimeLimit]]: LongInt</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.TimeLeft|TimeLeft]]: LongInt</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.FriendlyFire|FriendlyFire]]: Boolean</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.Password|Password]]: string</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.VotePercent|VotePercent]]: Single</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.Realistic|Realistic]]: Boolean</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.Survival|Survival]]: Boolean</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.Advance|Advance]]: Boolean</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.Balance|Balance]]: Boolean</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.TickThreshold|TickThreshold]]: LongInt</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.Teams|Teams]][ID: Byte]: [[TTeam|TTeam]]</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.OnClockTick|OnClockTick]]: [[TOnClockTick|TOnClockTick]]</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.OnJoin|OnJoin]]:[[TOnJoin|TOnJoin]] </td><td></td></tr> | ||
+ | <tr><td>property [[TGame.OnLeave|OnLeave]]: [[TOnLeave|TOnLeave]]</td><td></td></tr> | ||
+ | <tr><td>property [[TGame.OnRequest|OnRequest]]: [[TOnRequest|TOnRequest]]</td><td></td></tr> | ||
</table> | </table> | ||
</code> | </code> | ||
[[Category:Classes]] | [[Category:Classes]] |
Revision as of 11:59, 23 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 | |
property MaxPlayers: Byte | |
property NextMap: string | |
property NumBots: Byte | |
property NumPlayers: Byte | |
property Spectators: Byte | |
property ScoreLimit: Byte | |
property ServerIP: string | |
property ServerName: string | |
property ServerPort: Word | |
property ServerVersion: string | |
property ServerInfo: string | |
property Gravity: Single | |
property Paused: Boolean | |
property RespawnTime: LongInt | |
property MinRespawnTime: LongInt | |
property MaxRespawnTime: LongInt | |
property MaxGrenades: Byte | |
property Bonus: Byte | |
property TimeLimit: LongInt | |
property TimeLeft: LongInt | |
property FriendlyFire: Boolean | |
property Password: string | |
property VotePercent: Single | |
property Realistic: Boolean | |
property Survival: Boolean | |
property Advance: Boolean | |
property Balance: Boolean | |
property TickThreshold: LongInt | |
property Teams[ID: Byte]: TTeam | |
property OnClockTick: TOnClockTick | |
property OnJoin:TOnJoin | |
property OnLeave: TOnLeave | |
property OnRequest: TOnRequest |