Difference between revisions of "TGame"

From Soldat Community Wiki
Jump to: navigation, search
(Members)
Line 1: Line 1:
==Inheritance==
 
*[[TGame]]
 
 
==Description==
 
Represents a game state and configuration.
 
 
user constructable: '''NO'''<br>
 
user destructable: '''NO'''
 
 
==Inheritance==
 
*[[TGame]]
 
 
==Description==
 
Represents a game state and configuration.
 
 
user constructable: '''NO'''<br>
 
user destructable: '''NO'''
 
 
 
==Inheritance==
 
==Inheritance==
 
*[[TGame]]
 
*[[TGame]]
Line 38: Line 20:
 
   <tr><td>function [[TGame.LoadList|LoadList]](MapsList: string): Boolean</td></tr>
 
   <tr><td>function [[TGame.LoadList|LoadList]](MapsList: string): Boolean</td></tr>
 
   <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>RW</td></tr>
 
   <tr><td>property [[TGame.GameStyle|GameStyle]]: Byte</td><td>RW</td></tr>
 
   <tr><td>property [[TGame.MaxPlayers|MaxPlayers]]: Byte</td><td>RW</td></tr>
 
   <tr><td>property [[TGame.MaxPlayers|MaxPlayers]]: Byte</td><td>RW</td></tr>

Revision as of 12:05, 23 July 2013

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

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