Creation/Dev/Script/Client/TServerPlayer: Difference between revisions
From Graal Bible
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Category:Scripting Reference]] | |||
{{Script Object}} | {{Script Object}} | ||
Inherits [[Creation/Dev/Script/Client/TGaniObject|TGaniObject]]. | Inherits [[Creation/Dev/Script/Client/TGaniObject|TGaniObject]]. | ||
Revision as of 19:31, 5 April 2010
This article is information on a script object - a pre-defined type of variable with its own set of static variables and functions. It is intended for use with the GS2 scripting language.
Inherits TGaniObject.
Variables
| Name | Type | Description |
| account | string (read only) | |
| ap | integer | |
| attached | boolean (read only) | |
| bombs | integer | |
| chat | string | |
| darts | integer | |
| fullhearts | integer (read only) | |
| glovepower | integer | |
| gralats | integer | |
| guild | string (read only) | |
| headimg | string | |
| headset | integer | |
| hearts | float (read only) | |
| horseimg | string (read only) | |
| hp | float (read only) | |
| id | integer (read only) | |
| isadmin | boolean (read only) | |
| ischannel | boolean (read only) | |
| ischannelopen | boolean (read only) | |
| ischanneluser | boolean (read only) | |
| isexternal | boolean (read only) | |
| isfemale | boolean (read only) | |
| isignoring | boolean (read only) | |
| isloggedin | boolean (read only) | |
| ismale | boolean (read only) | |
| ismuted | boolean (read only) | |
| ismuting | boolean (read only) | |
| language | string (read only) | |
| languagedomain | string (read only) | |
| maxhp | integer (read only) | |
| messagebubble | integer (read only) | |
| mp | integer | |
| nick | string | |
| platform | string (read only) | |
| rupees | integer | Use gralats instead |
| shieldimg | string | |
| shieldpower | integer (read only) | |
| swordimg | string | |
| swordpower | integer (read only) | |
| x | float | |
| y | float |
Functions
| Name | Return Type | Description |
| isguildpm() | boolean | |
| ismasspm() | boolean | |
| pmswaiting() | boolean | |
| showprofile() |