Difference between revisions of "TActivePlayer"
m (→Description) |
(→Members: table type conversion, added inherited members) |
||
Line 11: | Line 11: | ||
==Members== | ==Members== | ||
− | + | ||
− | + | {| class="wikitable" | |
− | + | ! Member declaration !! Access mode !! Inherited | |
− | + | |- | |
− | + | | function [[TActivePlayer.Ban|Ban]](Time: Integer; Reason: string): Boolean || || no | |
− | + | |- | |
− | + | | function [[TActivePlayer.Kick|Kick]]: Boolean || || no | |
− | + | |- | |
− | + | | procedure [[TActivePlayer.Say|Say]](Text: string) || || no | |
− | + | |- | |
− | + | | procedure [[TActivePlayer.Damage|Damage]](Shooter: Byte; Damage: Integer) || || no | |
− | + | |- | |
− | + | | procedure [[TActivePlayer.BigText|BigText]](Layer: Byte; Text: string; Delay: Integer; Color: Longint; Scale: Single; X, Y: Integer) || || no | |
− | + | |- | |
− | + | | procedure [[TActivePlayer.ForceWeapon|ForceWeapon]](Primary, Secondary: [[TWeapon]]) || || no | |
− | + | |- | |
− | + | | procedure [[TActivePlayer.Forward|Forward]](TargetIP: string; TargetPort: Word; Message: string) || || no | |
− | + | |- | |
− | + | | procedure [[TActivePlayer.GiveBonus|GiveBonus]](BType: Byte) || || no | |
− | + | |- | |
− | + | | procedure [[TActivePlayer.Move|Move]](X, Y: Single) || || no | |
− | + | |- | |
− | + | | procedure [[TActivePlayer.Tell|Tell]](Text: string) || || no | |
− | + | |- | |
− | + | | procedure [[TActivePlayer.WriteConsole|WriteConsole]](Text: string; Color: Longint) || || no | |
− | + | |- | |
− | + | | colspan="3" | | |
− | + | |- | |
− | + | | property [[TPlayer.Team|Team]]: Byte || R || yes | |
− | + | |- | |
− | + | | property [[TPlayer.Health|Health]]: string || R || yes | |
− | + | |- | |
− | + | | property [[TPlayer.Primary|Primary]]: [[TPlayerWeapon]] || R || yes | |
− | + | |- | |
− | + | | property [[TPlayer.Secondary|Secondary]]: [[TPlayerWeapon]] || R || yes | |
− | + | |- | |
− | + | | property [[TPlayer.ShirtColor|ShirtColor]]: Longword || R || yes | |
− | + | |- | |
− | + | | property [[TPlayer.PantsColor|PantsColor]]: Longword || R || yes | |
− | + | |- | |
− | + | | property [[TPlayer.SkinColor|SkinColor]]: Longword || R || yes | |
− | + | |- | |
− | + | | property [[TPlayer.HairColor|HairColor]]: Longword || R || yes | |
− | + | |- | |
− | + | | property [[TPlayer.FavouriteWeapon|FavouriteWeapon]]: string || RW || yes | |
− | + | |- | |
− | + | | property [[TPlayer.ChosenSecondaryWeapon|ChosenSecondaryWeapon]]: Byte || R || | |
− | + | |- | |
− | + | | 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 [[TPlayer.HairStyle|HairStyle]]: Byte || R || yes | |
− | + | |- | |
− | + | | property [[TPlayer.Headgear|Headgear]]: Byte || R || yes | |
− | + | |- | |
− | + | | property [[TPlayer.Chain|Chain]]: Byte || R || yes | |
− | + | |- | |
+ | | 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 [[TPlayer.Dummy|Dummy]]: Boolean || R || yes | ||
+ | |- | ||
+ | | property [[TActivePlayer.ID|ID]]: Byte || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Team|Team]]: Byte || RW || yes (modif.) | ||
+ | |- | ||
+ | | property [[TActivePlayer.Alive|Alive]]: Boolean || RW || yes (modif.) | ||
+ | |- | ||
+ | | property [[TActivePlayer.Kills|Kills]]: Integer || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Deaths|Deaths]]: Integer || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Ping|Ping]]: Integer || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Active|Active]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.IP|IP]]: string || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Port|Port]]: Word || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.VelX|VelX]]: Single || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.VelY|VelY]]: Single || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Muted|Muted]]: Boolean || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Jets|Jets]]: Integer || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Grenades|Grenades]]: Byte || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.X|X]]: Single || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Y|Y]]: Single || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Flagger|Flagger]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Time|Time]]: Integer || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnGround|OnGround]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Human|Human]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Direction|Direction]]: Shortint || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.Flags|Flags]]: Byte || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.HWID|HWID]]: string || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.KeyUp|KeyUp]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.KeyLeft|KeyLeft]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.KeyRight|KeyRight]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.KeyShoot|KeyShoot]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.KeyJetpack|KeyJetpack]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.KeyGrenade|KeyGrenade]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.KeyChangeWeap|KeyChangeWeap]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.KeyThrow|KeyThrow]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.KeyReload|KeyReload]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.KeyCrouch|KeyCrouch]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.KeyProne|KeyProne]]: Boolean || R || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.WeaponActive|WeaponActive]][ID: Byte]: Boolean || W || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnFlagGrab|OnFlagGrab]]: [[TOnFlagGrabEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnFlagReturn|OnFlagReturn]]: [[TOnFlagReturnEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnFlagScore|OnFlagScore]]: [[TOnFlagScoreEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnBeforeRespawn|OnBeforeRespawn]]: [[TOnBeforeRespawnEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnAfterRespawn|OnAfterRespawn]]: [[TOnAfterRespawnEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnDamage|OnDamage]]: [[TOnDamageEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnKill|OnKill]]: [[TOnKillEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnWeaponChange|OnWeaponChange]]: [[TOnWeaponChangeEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnVoteMapStart|OnVoteMapStart]]: [[TOnVoteMapStartEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnVoteKickStart|OnVoteKickStart]]: [[TOnVoteKickStartEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnVoteMap|OnVoteMap]]: [[TOnVoteMapEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnVoteKick|OnVoteKick]]: [[TOnVoteKick]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnSpeak|OnSpeak]]: [[TOnSpeakEvent]] || RW || no | ||
+ | |- | ||
+ | | property [[TActivePlayer.OnCommand|OnCommand]]: [[TOnCommandEvent]] || RW || no | ||
+ | |} | ||
+ | |||
[[Category:Classes]] | [[Category:Classes]] |
Revision as of 14:24, 26 July 2013
Inheritance
Description
Represents an active player. Accessible trough Players[] array property.
user constructable: NO
user destructable: NO
Members
Member declaration | Access mode | Inherited |
---|---|---|
function Ban(Time: Integer; Reason: string): Boolean | no | |
function Kick: Boolean | no | |
procedure Say(Text: string) | no | |
procedure Damage(Shooter: Byte; Damage: Integer) | no | |
procedure BigText(Layer: Byte; Text: string; Delay: Integer; Color: Longint; Scale: Single; X, Y: Integer) | no | |
procedure ForceWeapon(Primary, Secondary: TWeapon) | no | |
procedure Forward(TargetIP: string; TargetPort: Word; Message: string) | no | |
procedure GiveBonus(BType: Byte) | no | |
procedure Move(X, Y: Single) | no | |
procedure Tell(Text: string) | no | |
procedure WriteConsole(Text: string; Color: Longint) | no | |
property Team: Byte | R | yes |
property Health: string | R | yes |
property Primary: TPlayerWeapon | R | yes |
property Secondary: TPlayerWeapon | R | yes |
property ShirtColor: Longword | R | yes |
property PantsColor: Longword | R | yes |
property SkinColor: Longword | R | yes |
property HairColor: Longword | R | yes |
property FavouriteWeapon: string | RW | yes |
property ChosenSecondaryWeapon: Byte | R | |
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 | R | yes |
property Headgear: Byte | R | yes |
property Chain: Byte | R | yes |
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 | R | yes |
property ID: Byte | R | no |
property Team: Byte | RW | yes (modif.) |
property Alive: Boolean | RW | yes (modif.) |
property Kills: Integer | RW | no |
property Deaths: Integer | R | no |
property Ping: Integer | R | no |
property Active: Boolean | R | no |
property IP: string | R | no |
property Port: Word | R | no |
property VelX: Single | R | no |
property VelY: Single | R | no |
property Muted: Boolean | RW | no |
property Jets: Integer | R | no |
property Grenades: Byte | R | no |
property X: Single | R | no |
property Y: Single | R | no |
property Flagger: Boolean | R | no |
property Time: Integer | R | no |
property OnGround: Boolean | R | no |
property Human: Boolean | R | no |
property Direction: Shortint | R | no |
property Flags: Byte | R | no |
property HWID: string | R | no |
property KeyUp: Boolean | R | no |
property KeyLeft: Boolean | R | no |
property KeyRight: Boolean | R | no |
property KeyShoot: Boolean | R | no |
property KeyJetpack: Boolean | R | no |
property KeyGrenade: Boolean | R | no |
property KeyChangeWeap: Boolean | R | no |
property KeyThrow: Boolean | R | no |
property KeyReload: Boolean | R | no |
property KeyCrouch: Boolean | R | no |
property KeyProne: Boolean | R | no |
property WeaponActive[ID: Byte]: Boolean | W | no |
property OnFlagGrab: TOnFlagGrabEvent | RW | no |
property OnFlagReturn: TOnFlagReturnEvent | RW | no |
property OnFlagScore: TOnFlagScoreEvent | RW | no |
property OnBeforeRespawn: TOnBeforeRespawnEvent | RW | no |
property OnAfterRespawn: TOnAfterRespawnEvent | RW | no |
property OnDamage: TOnDamageEvent | RW | no |
property OnKill: TOnKillEvent | RW | no |
property OnWeaponChange: TOnWeaponChangeEvent | RW | no |
property OnVoteMapStart: TOnVoteMapStartEvent | RW | no |
property OnVoteKickStart: TOnVoteKickStartEvent | RW | no |
property OnVoteMap: TOnVoteMapEvent | RW | no |
property OnVoteKick: TOnVoteKick | RW | no |
property OnSpeak: TOnSpeakEvent | RW | no |
property OnCommand: TOnCommandEvent | RW | no |