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==
 
==Inheritance==
 
*[[TGame]]
 
*[[TGame]]
Line 20: Line 29:
 
   <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> </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></td></tr>
 
   <tr><td>property [[TGame.MaxPlayers|MaxPlayers]]: Byte</td><td></td></tr>
 
   <tr><td>property [[TGame.MaxPlayers|MaxPlayers]]: Byte</td><td></td></tr>

Revision as of 13:01, 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

Members

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: 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