Difference between revisions of "TNewPlayer"

From Soldat Community Wiki
Jump to: navigation, search
m (Members)
(Members: table style + adding)
Line 11: Line 11:
  
 
==Members==
 
==Members==
<code>
+
 
  <table>
+
{| class="wikitable"
  <tr><th>Member declaration</th><th>Acess mode</th></tr>
+
! Member declaration !! Access mode !! Inherited
  <tr><td>constructor [[TNewPlayer.Create|Create]]</td></tr>
+
|-
  <tr><td>procedure [[TNewPlayer.Free|Free]]</td></tr>
+
| constructor [[TNewPlayer.Create|Create]] || || no
  <tr><td><br /></td></tr>
+
|-
  <tr><td>property [[TNewPlayer.Name|Name]]: string</td><td>RW</td></tr>
+
| procedure [[TNewPlayer.Free|Free]] || || no
  <tr><td>property [[TNewPlayer.Team|Team]]: Byte</td><td>RW</td></tr>
+
|-
  <tr><td>property [[TNewPlayer.Health|Health]]: Integer</td><td>RW</td></tr>
+
| colspan="3" |
  <tr><td>property [[TNewPlayer.Primary|Primary]]: [[TWeapon]]</td><td>RW</td></tr>
+
|-
  <tr><td>property [[TNewPlayer.Secondary|Secondary]]: [[TWeapon]]</td><td>RW</td></tr>
+
| property [[TNewPlayer.Name|Name]]: string || RW || yes (modif.)
  <tr><td>property [[TNewPlayer.ShirtColor|ShirtColor]]: Longword</td><td>RW</td></tr>
+
|-
  <tr><td>property [[TNewPlayer.PantsColor|PantsColor]]: Longword</td><td>RW</td></tr>
+
| property [[TNewPlayer.Health|Health]]: string || RW || yes (modif.)
  <tr><td>property [[TNewPlayer.SkinColor|SkinColor]]: Longword</td><td>RW</td></tr>
+
|-
  <tr><td>property [[TNewPlayer.HairColor|HairColor]]: Longword</td><td>RW</td></tr>
+
| property [[TNewPlayer.Primary|Primary]]: [[TPlayerWeapon]] || RW || yes (modif.)
  <tr><td>property [[TNewPlayer.HairStyle|HairStyle]]: Byte</td><td>RW</td></tr>
+
|-
  <tr><td>property [[TNewPlayer.Headgear|Headgear]]: Byte</td><td>RW</td></tr>
+
| property [[TNewPlayer.Secondary|Secondary]]: [[TPlayerWeapon]] || RW || yes (modif.)
  <tr><td>property [[TNewPlayer.Chain|Chain]]: Byte</td><td>RW</td></tr>
+
|-
  <tr><td>property [[TNewPlayer.Dummy|Dummy]]: Boolean</td><td>RW</td></tr>
+
| property [[TNewPlayer.ShirtColor|ShirtColor]]: Longword || RW || yes (modif.)
</table>
+
|-
</code>
+
| property [[TNewPlayer.PantsColor|PantsColor]]: Longword || RW || yes (modif.)
 +
|-
 +
| property [[TNewPlayer.SkinColor|SkinColor]]: Longword || RW || yes (modif.)
 +
|-
 +
| property [[TNewPlayer.HairColor|HairColor]]: Longword || RW || yes (modif.)
 +
|-
 +
| property [[TPlayer.FavouriteWeapon|FavouriteWeapon]]: string || RW || yes
 +
|-
 +
| property [[TPlayer.ChosenSecondaryWeapon|ChosenSecondaryWeapon]]: Byte || R || yes
 +
|-
 +
| property [[TPlayer.Friend|Friend]]: string || RW || yes
 +
|-
 +
| property [[TPlayer.Accuracy|Accuracy]]: Byte || RW || yes
 +
|-
 +
| property [[TPlayer.ShootDead|ShootDead]]: Boolean || RW || yes
 +
|-
 +
| property [[TPlayer.GrenadeFrequency|GrenadeFrequency]]: Byte || RW || yes
 +
|-
 +
| property [[TPlayer.Camping|Camping]]: Boolean || RW || yes
 +
|-
 +
| property [[TPlayer.OnStartUse|OnStartUse]]: Byte || RW || yes
 +
|-
 +
| property [[TNewPlayer.HairStyle|HairStyle]]: Byte || RW || yes (modif.)
 +
|-
 +
| property [[TNewPlayer.Headgear|Headgear]]: Byte || RW || yes (modif.)
 +
|-
 +
| property [[TNewPlayer.Chain|Chain]]: Byte || RW || yes (modif.)
 +
|-
 +
| property [[TPlayer.ChatFrequency|ChatFrequency]]: Byte || RW || yes
 +
|-
 +
| property [[TPlayer.ChatKill|ChatKill]]: string || RW || yes
 +
|-
 +
| property [[TPlayer.ChatDead|ChatDead]]: string || RW || yes
 +
|-
 +
| property [[TPlayer.ChatLowHealth|ChatLowHealth]]: string || RW || yes
 +
|-
 +
| property [[TPlayer.ChatSeeEnemy|ChatSeeEnemy]]: string || RW || yes
 +
|-
 +
| property [[TPlayer.ChatWinning|ChatWinning]]: string || RW || yes
 +
|-
 +
| property [[TNewPlayer.Dummy|Dummy]]: Boolean || RW || yes (modif.)
 +
|-
 +
| property [[TNewPlayer.Team|Team]]: Byte || RW || yes (modif.)
 +
|-
 +
| property [[TPlayer.Alive|Alive]]: Boolean || RW || yes
 +
|}
 +
 
 
[[Category:Classes]][[Category:TPlayer]]
 
[[Category:Classes]][[Category:TPlayer]]

Revision as of 11:42, 29 July 2013

Inheritance

Description

Represents a new player (bot). To effectively create one, you can use Players.Add.

user constructable: YES
user destructable: YES

Members

Member declaration Access mode Inherited
constructor Create no
procedure Free no
property Name: string RW yes (modif.)
property Health: string RW yes (modif.)
property Primary: TPlayerWeapon RW yes (modif.)
property Secondary: TPlayerWeapon RW yes (modif.)
property ShirtColor: Longword RW yes (modif.)
property PantsColor: Longword RW yes (modif.)
property SkinColor: Longword RW yes (modif.)
property HairColor: Longword RW yes (modif.)
property FavouriteWeapon: string RW yes
property ChosenSecondaryWeapon: Byte R yes
property Friend: string RW yes
property Accuracy: Byte RW yes
property ShootDead: Boolean RW yes
property GrenadeFrequency: Byte RW yes
property Camping: Boolean RW yes
property OnStartUse: Byte RW yes
property HairStyle: Byte RW yes (modif.)
property Headgear: Byte RW yes (modif.)
property Chain: Byte RW yes (modif.)
property ChatFrequency: Byte RW yes
property ChatKill: string RW yes
property ChatDead: string RW yes
property ChatLowHealth: string RW yes
property ChatSeeEnemy: string RW yes
property ChatWinning: string RW yes
property Dummy: Boolean RW yes (modif.)
property Team: Byte RW yes (modif.)
property Alive: Boolean RW yes