Difference between revisions of "TGame"

From Soldat Community Wiki
Jump to: navigation, search
(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]: [[TTeam|TTeam]]</td><td></td></tr>
+
   <tr><td>property [[TGame.Teams|Teams]][ID: Byte]: [[TTeam]]</td><td>R</td></tr>
   <tr><td>property [[TGame.OnClockTick|OnClockTick]]: [[TOnClockTick|TOnClockTick]]</td><td></td></tr>
+
   <tr><td>property [[TGame.OnClockTick|OnClockTick]]: [[TOnClockTick]]</td><td>RW</td></tr>
   <tr><td>property [[TGame.OnJoin|OnJoin]]: [[TOnJoin|TOnJoin]] </td><td></td></tr>
+
   <tr><td>property [[TGame.OnJoin|OnJoin]]: [[TOnJoin]] </td><td>RW</td></tr>
   <tr><td>property [[TGame.OnLeave|OnLeave]]: [[TOnLeave|TOnLeave]]</td><td></td></tr>
+
   <tr><td>property [[TGame.OnLeave|OnLeave]]: [[TOnLeave]]</td><td>RW</td></tr>
   <tr><td>property [[TGame.OnRequest|OnRequest]]: [[TOnRequest|TOnRequest]]</td><td></td></tr>
+
   <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

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

RRW
Member declarationAccess 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: ByteRW
property MaxPlayers: ByteRW
property NextMap: stringR
property NumBots: ByteR
property NumPlayers: ByteR
property Spectators: ByteR
property ScoreLimit: ByteRW
property ServerIP: stringR
property ServerName: string
property ServerPort: WordR
property ServerVersion: stringR
property ServerInfo: stringR
property Gravity: SingleRW
property Paused: BooleanRW
property RespawnTime: LongIntRW
property MinRespawnTime: LongIntRW
property MaxRespawnTime: LongIntRW
property MaxGrenades: ByteRW
property Bonus: Byte
property TimeLimit: LongIntRW
property TimeLeft: LongIntR
property FriendlyFire: BooleanRW
property Password: stringR
property VotePercent: SingleRW
property Realistic: BooleanRW
property Survival: BooleanRW
property Advance: BooleanRW
property Balance: BooleanRW
property TickThreshold: LongIntRW
property Teams[ID: Byte]: TTeamR
property OnClockTick: TOnClockTickRW
property OnJoin: TOnJoin RW
property OnLeave: TOnLeaveRW
property OnRequest: TOnRequestRW