Difference between revisions of "TGame"

From Soldat Community Wiki
Jump to: navigation, search
m (Members)
Line 51: Line 51:
 
   <tr><td>property [[TGame.TickThreshold|TickThreshold]]: LongInt</td><td>RW</td></tr>
 
   <tr><td>property [[TGame.TickThreshold|TickThreshold]]: LongInt</td><td>RW</td></tr>
 
   <tr><td>property [[TGame.Teams|Teams]][ID: Byte]: [[TTeam]]</td><td>R</td></tr>
 
   <tr><td>property [[TGame.Teams|Teams]][ID: Byte]: [[TTeam]]</td><td>R</td></tr>
   <tr><td>property [[TGame.OnClockTick|OnClockTick]]: [[TOnClockTick]]</td><td>RW</td></tr>
+
   <tr><td>property [[TGame.OnClockTick|OnClockTick]]: [[TOnClockTickEvent]]</td><td>RW</td></tr>
   <tr><td>property [[TGame.OnJoin|OnJoin]]: [[TOnJoin]] </td><td>RW</td></tr>
+
   <tr><td>property [[TGame.OnJoin|OnJoin]]: [[TOnJoinEvent]] </td><td>RW</td></tr>
   <tr><td>property [[TGame.OnLeave|OnLeave]]: [[TOnLeave]]</td><td>RW</td></tr>
+
   <tr><td>property [[TGame.OnLeave|OnLeave]]: [[TOnLeaveEvent]]</td><td>RW</td></tr>
   <tr><td>property [[TGame.OnRequest|OnRequest]]: [[TOnRequest]]</td><td>RW</td></tr>
+
   <tr><td>property [[TGame.OnRequest|OnRequest]]: [[TOnRequestEvent]]</td><td>RW</td></tr>
 
   </table>
 
   </table>
 
</code>
 
</code>
 
[[Category:Classes]][[Category:TGame]]
 
[[Category:Classes]][[Category:TGame]]

Revision as of 14:25, 24 July 2013

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

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: stringR
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: ByteRW
property TimeLimit: LongIntRW
property TimeLeft: LongIntR
property FriendlyFire: BooleanRW
property Password: stringRW
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: TOnClockTickEventRW
property OnJoin: TOnJoinEvent RW
property OnLeave: TOnLeaveEventRW
property OnRequest: TOnRequestEventRW