Difference between revisions of "TNewWeapon"

From Soldat Community Wiki
Jump to: navigation, search
m (Members)
m (Members)
Line 30: Line 30:
 
| property [[TNewWeapon.WType|WType]]: Byte
 
| property [[TNewWeapon.WType|WType]]: Byte
 
| align="center" | RW
 
| align="center" | RW
| align="center" | yes (modified)
+
| align="center" | yes (modif.)
 
|-
 
|-
 
| property [[TWeapon.Name|Name]]: string
 
| property [[TWeapon.Name|Name]]: string

Revision as of 12:09, 24 July 2013

Inheritance

Description

Represents a new weapon.
Don't forget to free the instance after using it!

user constructable: YES
user destructable:  YES

Members

Member declaration Access mode Inherited
constructor Create no
procedure Free no
property WType: Byte RW yes (modif.)
property Name: string R yes
property BulletStyle: Byte R yes
property Ammo: Byte RW yes