Difference between revisions of "CPlayer"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) (→Methods) |
Splittingred (Talk | contribs) m |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| + | CPlayer is the class that references an in-game Player, and can be used to modify said player at any given time. | ||
<onlyinclude> | <onlyinclude> | ||
| Line 50: | Line 51: | ||
| [[CPlayer::AddDeaths|AddDeaths]] | | [[CPlayer::AddDeaths|AddDeaths]] | ||
| {{:CPlayer::AddDeaths|AddDeaths}} | | {{:CPlayer::AddDeaths|AddDeaths}} | ||
| − | |||
| − | |||
| − | |||
|- | |- | ||
|} | |} | ||
Latest revision as of 22:01, 23 January 2013
CPlayer is the class that references an in-game Player, and can be used to modify said player at any given time.
Methods
| Method | Description |
|---|---|
| getUsername |
|
| getClantag |
|
| getCharacterName |
|
| getUsername |
|
| getTeamNum |
|
| getClassNum |
|
| getSex |
|
| getHead |
|
| getSkin |
|
| getSpawnPoint |
|
| getBlob |
Returns a reference to the CBlob that owns this object. It is a method common to several object types that are considered 'components'. |
| ChangeTeam |
|
| AddKills |
|
| AddDeaths |
|
Properties
| Property | Type | Description |
|---|---|---|
| lastBlobFactory | string | |
| lastBlobConfig | string | |
| lastBlobName | string |