Difference between revisions of "TGame"
(→Members) |
(→Members) |
||
Line 1: | Line 1: | ||
+ | ==Inheritance== | ||
+ | *[[TGame]] | ||
+ | |||
+ | ==Description== | ||
+ | Represents a game state and configuration. | ||
+ | |||
+ | user constructable: '''NO'''<br> | ||
+ | user destructable: '''NO''' | ||
+ | |||
==Inheritance== | ==Inheritance== | ||
*[[TGame]] | *[[TGame]] | ||
Line 30: | Line 39: | ||
<tr><td>procedure [[TGame.LobbyRegister|LobbyRegister]]</td></tr> | <tr><td>procedure [[TGame.LobbyRegister|LobbyRegister]]</td></tr> | ||
<tr><td></br></td></tr> | <tr><td></br></td></tr> | ||
− | <tr><td>property [[TGame.GameStyle|GameStyle]]: Byte</td><td></td></tr> | + | <tr><td>property [[TGame.GameStyle|GameStyle]]: Byte</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.MaxPlayers|MaxPlayers]]: Byte</td><td></td></tr> | + | <tr><td>property [[TGame.MaxPlayers|MaxPlayers]]: Byte</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.NextMap|NextMap]]: string</td><td></td></tr> | + | <tr><td>property [[TGame.NextMap|NextMap]]: string</td><td>R</td></tr> |
− | <tr><td>property [[TGame.NumBots|NumBots]]: Byte</td><td></td></tr> | + | <tr><td>property [[TGame.NumBots|NumBots]]: Byte</td><td>R</td></tr> |
− | <tr><td>property [[TGame.NumPlayers|NumPlayers]]: Byte</td><td></td></tr> | + | <tr><td>property [[TGame.NumPlayers|NumPlayers]]: Byte</td><td>R</td></tr> |
− | <tr><td>property [[TGame.Spectators|Spectators]]: Byte</td><td></td></tr> | + | <tr><td>property [[TGame.Spectators|Spectators]]: Byte</td><td>R</td></tr> |
− | <tr><td>property [[TGame.ScoreLimit|ScoreLimit]]: Byte</td><td></td></tr> | + | <tr><td>property [[TGame.ScoreLimit|ScoreLimit]]: Byte</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.ServerIP|ServerIP]]: string</td><td></td></tr> | + | <tr><td>property [[TGame.ServerIP|ServerIP]]: string</td><td>R</td></tr> |
− | <tr><td>property [[TGame.ServerName|ServerName]]: string</td><td></td></tr> | + | <tr><td>property [[TGame.ServerName|ServerName]]: string</td>R<td></td></tr> |
− | <tr><td>property [[TGame.ServerPort|ServerPort]]: Word</td><td></td></tr> | + | <tr><td>property [[TGame.ServerPort|ServerPort]]: Word</td><td>R</td></tr> |
− | <tr><td>property [[TGame.ServerVersion|ServerVersion]]: string</td><td></td></tr> | + | <tr><td>property [[TGame.ServerVersion|ServerVersion]]: string</td><td>R</td></tr> |
− | <tr><td>property [[TGame.ServerInfo|ServerInfo]]: string</td><td></td></tr> | + | <tr><td>property [[TGame.ServerInfo|ServerInfo]]: string</td><td>R</td></tr> |
− | <tr><td>property [[TGame.Gravity|Gravity]]: Single</td><td></td></tr> | + | <tr><td>property [[TGame.Gravity|Gravity]]: Single</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.Paused|Paused]]: Boolean</td><td></td></tr> | + | <tr><td>property [[TGame.Paused|Paused]]: Boolean</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.RespawnTime|RespawnTime]]: LongInt</td><td></td></tr> | + | <tr><td>property [[TGame.RespawnTime|RespawnTime]]: LongInt</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.MinRespawnTime|MinRespawnTime]]: LongInt</td><td></td></tr> | + | <tr><td>property [[TGame.MinRespawnTime|MinRespawnTime]]: LongInt</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.MaxRespawnTime|MaxRespawnTime]]: LongInt</td><td></td></tr> | + | <tr><td>property [[TGame.MaxRespawnTime|MaxRespawnTime]]: LongInt</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.MaxGrenades|MaxGrenades]]: Byte</td><td></td></tr> | + | <tr><td>property [[TGame.MaxGrenades|MaxGrenades]]: Byte</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.Bonus|Bonus]]: Byte</td><td></td></tr> | + | <tr><td>property [[TGame.Bonus|Bonus]]: Byte</td><td></td>RW</tr> |
− | <tr><td>property [[TGame.TimeLimit|TimeLimit]]: LongInt</td><td></td></tr> | + | <tr><td>property [[TGame.TimeLimit|TimeLimit]]: LongInt</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.TimeLeft|TimeLeft]]: LongInt</td><td></td></tr> | + | <tr><td>property [[TGame.TimeLeft|TimeLeft]]: LongInt</td><td>R</td></tr> |
− | <tr><td>property [[TGame.FriendlyFire|FriendlyFire]]: Boolean</td><td></td></tr> | + | <tr><td>property [[TGame.FriendlyFire|FriendlyFire]]: Boolean</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.Password|Password]]: string</td><td></td></tr> | + | <tr><td>property [[TGame.Password|Password]]: string</td><td>R</td></tr> |
− | <tr><td>property [[TGame.VotePercent|VotePercent]]: Single</td><td></td></tr> | + | <tr><td>property [[TGame.VotePercent|VotePercent]]: Single</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.Realistic|Realistic]]: Boolean</td><td></td></tr> | + | <tr><td>property [[TGame.Realistic|Realistic]]: Boolean</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.Survival|Survival]]: Boolean</td><td></td></tr> | + | <tr><td>property [[TGame.Survival|Survival]]: Boolean</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.Advance|Advance]]: Boolean</td><td></td></tr> | + | <tr><td>property [[TGame.Advance|Advance]]: Boolean</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.Balance|Balance]]: Boolean</td><td></td></tr> | + | <tr><td>property [[TGame.Balance|Balance]]: Boolean</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.TickThreshold|TickThreshold]]: LongInt</td><td></td></tr> | + | <tr><td>property [[TGame.TickThreshold|TickThreshold]]: LongInt</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.Teams|Teams]][ID: Byte]: [[ | + | <tr><td>property [[TGame.Teams|Teams]][ID: Byte]: [[TTeam]]</td><td>R</td></tr> |
− | <tr><td>property [[TGame.OnClockTick|OnClockTick]]: [[ | + | <tr><td>property [[TGame.OnClockTick|OnClockTick]]: [[TOnClockTick]]</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.OnJoin|OnJoin]]: [[ | + | <tr><td>property [[TGame.OnJoin|OnJoin]]: [[TOnJoin]] </td><td>RW</td></tr> |
− | <tr><td>property [[TGame.OnLeave|OnLeave]]: [[ | + | <tr><td>property [[TGame.OnLeave|OnLeave]]: [[TOnLeave]]</td><td>RW</td></tr> |
− | <tr><td>property [[TGame.OnRequest|OnRequest]]: [[ | + | <tr><td>property [[TGame.OnRequest|OnRequest]]: [[TOnRequest]]</td><td>RW</td></tr> |
</table> | </table> | ||
</code> | </code> | ||
[[Category:Classes]] | [[Category:Classes]] |
Revision as of 12:04, 23 July 2013
Contents
Inheritance
Description
Represents a game state and configuration.
user constructable: NO
user destructable: NO
Inheritance
Description
Represents a game state and configuration.
user constructable: NO
user destructable: NO
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 | |
</br> | |
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 | R |
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: TOnClockTick | RW |
property OnJoin: TOnJoin | RW |
property OnLeave: TOnLeave | RW |
property OnRequest: TOnRequest | RW |