Difference between revisions of "TPlayer"

From Soldat Community Wiki
Jump to: navigation, search
(Members)
(Modified health to single, added vest)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
==Inheritance==
 
==Inheritance==
*[[TObject]]
 
 
*[[TPlayer]]
 
*[[TPlayer]]
 
**[[TActivePlayer]]
 
**[[TActivePlayer]]
Line 6: Line 5:
  
 
==Description==
 
==Description==
Represents a player.
+
Represents a player.<br>
 +
user constructable: '''NO'''
 +
user destructable: '''NO'''
  
user constructable: '''NO'''<br>
+
==Members==
user destructable: '''NO'''
 
  
==Members==
+
 
<code>
+
{| class="wikitable"
  <table>
+
|-
  <tr><th>Member declaration</th><th>Acess mode</th></tr>
+
! Member declaration !! Access mode !! Inherited
  <tr><td>property [[TPlayers.Team|Team]]: Byte</td><td>R</td></tr>
+
|-
  <tr><td>property [[TPlayers.Name|Name]]: string</td><td>R</td></tr>
+
| property [[TPlayer.Team|Team]]: Byte  
  <tr><td>property [[TPlayers.Alive|Alive]]: boolean</td><td>R</td></tr>
+
| align="center" | R  
  <tr><td>property [[TPlayers.Health|Health]]: integer</td><td>R</td></tr>
+
| align="center" | no
  <tr><td>property [[TPlayers.Primary|Primary]]: TPrimaryPlayerWeapon</td><td>R</td></tr>
+
|-
  <tr><td>property [[TPlayers.Secondary|Secondary]]: TSecondaryPlayerWeapon</td><td>R</td></tr>
+
| property [[TPlayer.Name|Name]]: string  
  <tr><td>property [[TPlayers.ShirtColor|ShirtColor]]: Longword</td><td>R</td></tr>
+
| align="center" | R  
  <tr><td>property [[TPlayers.PantsColor|PantsColor]]: Longword</td><td>R</td></tr>
+
| align="center" | no
  <tr><td>property [[TPlayers.SkinColor|SkinColor]]: Longword</td><td>R</td></tr>
+
|-
  <tr><td>property [[TPlayers.HairColor|HairColor]]: Longword</td><td>R</td></tr>
+
| property [[TPlayer.Alive|Alive]]: boolean  
  <tr><td>property [[TPlayers.FavouriteWeapon|FavouriteWeapon]]: string</td><td>RW</td></tr>
+
| align="center" | R  
  <tr><td>property [[TPlayers.ChosenSecondaryWeapon|ChosenSecondaryWeapon]]: Byte</td><td>R</td></tr>
+
| align="center" | no
  <tr><td>property [[TPlayers.Friend|Friend]]: string</td><td>RW</td></tr>
+
|-
  <tr><td>property [[TPlayers.Accuracy|Accuracy]]: Byte</td><td>RW</td></tr>
+
| property [[TPlayer.Health|Health]]: Single
  <tr><td>property [[TPlayers.ShootDead|ShootDead]]: Boolean</td><td>RW</td></tr>
+
| align="center" | R
  <tr><td>property [[TPlayers.GrenadeFrequency|GrenadeFrequency]]: Byte</td><td>RW</td></tr>
+
| align="center" | no
  <tr><td>property [[TPlayers.Camping|Camping]]: Boolean</td><td>RW</td></tr>
+
|-
  <tr><td>property [[TPlayers.OnStartUse|OnStartUse]]: Byte</td><td>RW</td></tr>
+
| property [[TPlayer.Vest|Vest]]: Single
  <tr><td>property [[TPlayers.HairStyle|HairStyle]]: Byte</td><td>R</td></tr>
+
| align="center" | R  
  <tr><td>property [[TPlayers.Headgear|Headgear]]: Byte</td><td>R</td></tr>
+
| align="center" | no
  <tr><td>property [[TPlayers.Chain|Chain]]: Byte</td><td>R</td></tr>
+
|-
  <tr><td>property [[TPlayers.ChatFrequency|ChatFrequency]]: Byte</td><td>RW</td></tr>
+
| property [[TPlayer.Primary|Primary]]: [[TPrimaryPlayerWeapon]]
  <tr><td>property [[TPlayers.ChatKill|ChatKill]]: string</td><td>RW</td></tr>
+
| align="center" | R  
  <tr><td>property [[TPlayers.ChatDead|ChatDead]]: string</td><td>RW</td></tr>
+
| align="center" | no
  <tr><td>property [[TPlayers.ChatLowHealth|ChatLowHealth]]: string</td><td>RW</td></tr>
+
|-
  <tr><td>property [[TPlayers.ChatSeeEnemy|ChatSeeEnemy]]: string</td><td>RW</td></tr>
+
| property [[TPlayer.Secondary|Secondary]]: [[TSecondaryPlayerWeapon]]
  <tr><td>property [[TPlayers.ChatWinning|ChatWinning]]: string</td><td>RW</td></tr>
+
| align="center" | R  
  <tr><td>property [[TPlayers.Dummy|Dummy]]: Boolean</td><td>R</td></tr>
+
| align="center" | no
</table>
+
|-
</code>
+
| property [[TPlayer.ShirtColor|ShirtColor]]: Longword  
 +
| align="center" | R  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.PantsColor|PantsColor]]: Longword  
 +
| align="center" | R  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.SkinColor|SkinColor]]: Longword  
 +
| align="center" | R  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.HairColor|HairColor]]: Longword  
 +
| align="center" | R  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.FavouriteWeapon|FavouriteWeapon]]: string  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.ChosenSecondaryWeapon|ChosenSecondaryWeapon]]: Byte  
 +
| align="center" | R  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.Friend|Friend]]: string  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.Accuracy|Accuracy]]: Byte  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.ShootDead|ShootDead]]: Boolean  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.GrenadeFrequency|GrenadeFrequency]]: Byte  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.Camping|Camping]]: Boolear
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.OnStartUse|OnStartUse]]: Byte  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.HairStyle|HairStyle]]: Byte  
 +
| align="center" | R  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.Headgear|Headgear]]: Byte  
 +
| align="center" | R  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.Chain|Chain]]: Byte  
 +
| align="center" | R  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.ChatFrequency|ChatFrequency]]: Byte  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.ChatKill|ChatKill]]: string  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.ChatDead|ChatDead]]: string  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.ChatLowHealth|ChatLowHealth]]: string  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.ChatSeeEnemy|ChatSeeEnemy]]: string  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.ChatWinning|ChatWinning]]: string  
 +
| align="center" | RW  
 +
| align="center" | no
 +
|-
 +
| property [[TPlayer.Dummy|Dummy]]: Boolean  
 +
| align="center" | R  
 +
| align="center" | no
 +
|}
 +
[[Category:Classes]]

Latest revision as of 20:59, 23 June 2016

Inheritance

Description

Represents a player.

user constructable: NO
user destructable: NO

Members

Member declaration Access mode Inherited
property Team: Byte R no
property Name: string R no
property Alive: boolean R no
property Health: Single R no
property Vest: Single R no
property Primary: TPrimaryPlayerWeapon R no
property Secondary: TSecondaryPlayerWeapon R no
property ShirtColor: Longword R no
property PantsColor: Longword R no
property SkinColor: Longword R no
property HairColor: Longword R no
property FavouriteWeapon: string RW no
property ChosenSecondaryWeapon: Byte R no
property Friend: string RW no
property Accuracy: Byte RW no
property ShootDead: Boolean RW no
property GrenadeFrequency: Byte RW no
property Camping: Boolear RW no
property OnStartUse: Byte RW no
property HairStyle: Byte R no
property Headgear: Byte R no
property Chain: Byte R no
property ChatFrequency: Byte RW no
property ChatKill: string RW no
property ChatDead: string RW no
property ChatLowHealth: string RW no
property ChatSeeEnemy: string RW no
property ChatWinning: string RW no
property Dummy: Boolean R no