Difference between revisions of "TTeam"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "==Inheritance== *TTeam ==Description== Represents a team of players user constructable: '''NO''' user destructable: '''NO''' ==Members== {| class="wikitable" |- ! M...")
 
 
(2 intermediate revisions by one other user not shown)
Line 11: Line 11:
 
{| class="wikitable"  
 
{| class="wikitable"  
 
|-
 
|-
! Member declaration !! Access mode !!
+
! Member declaration !! Access mode
 
|-
 
|-
 
| procedure [[TTeam.Add|Add]](Player: [[TPlayer]])
 
| procedure [[TTeam.Add|Add]](Player: [[TPlayer]])
Line 19: Line 19:
 
|-
 
|-
 
| property [[TTeam.Score|Score]]: Byte  
 
| property [[TTeam.Score|Score]]: Byte  
| align="center" | Rw
+
| align="center" | RW
 
|-
 
|-
 
| property [[TTeam.Player|Player]][i: Byte]: [[TPlayer]]
 
| property [[TTeam.Player|Player]][i: Byte]: [[TPlayer]]
Line 30: Line 30:
 
| property [[TTeam.ID|ID]]: Byte  
 
| property [[TTeam.ID|ID]]: Byte  
 
| align="center" | R  
 
| align="center" | R  
 +
|-
 +
| property [[TTeam.OnBeforeJoin|OnBeforeJoin]]: [[TOnBeforeJoinTeamEvent]]
 +
| align="center" | RW
 
|-
 
|-
 
| property [[TTeam.OnJoin|OnJoin]]: [[TOnJoinTeamEvent]]
 
| property [[TTeam.OnJoin|OnJoin]]: [[TOnJoinTeamEvent]]
 +
| align="center" | RW
 +
|-
 +
| property [[TTeam.OnJoin|OnLeave]]: [[TOnLeaveTeamEvent]]
 
| align="center" | RW  
 
| align="center" | RW  
 
|-
 
|-

Latest revision as of 22:47, 6 May 2020

Inheritance

Description

Represents a team of players

user constructable: NO
user destructable:  NO

Members

Member declaration Access mode
procedure Add(Player: TPlayer)
property Score: Byte RW
property Player[i: Byte]: TPlayer R default
property Count: Byte R
property ID: Byte R
property OnBeforeJoin: TOnBeforeJoinTeamEvent RW
property OnJoin: TOnJoinTeamEvent RW
property OnLeave: TOnLeaveTeamEvent RW