Squirrel/SquirrelClasses
From Liberty Unleashed Wiki
(Difference between revisions)
m (Blanked the page) |
|||
Line 1: | Line 1: | ||
+ | Squirrel classes are internal classes from the server or client exported to Squirrel scripting. These can be for example in-game entities or data storage classes, such as hash tables. Unlike many other languages, in Squirrel the objects of these classes also act as real objects, which means you can return or modify the class properties (such as health for a player), or use built-in method functions to execute more complex tasks. | ||
+ | The following is a complete list of classes bound to Squirrel scripting. In addition to these, there are also [[Squirrel/Script_Types|script types]] which are basically classes without any methods, and they're meant to add extra functionality and ease of use to scripting. | ||
+ | |||
+ | == Server == | ||
+ | |||
+ | * [[Squirrel/Server/Functions#Checkpoint_Functions|Checkpoint]] | ||
+ | * [[Squirrel/Server/Functions#Object_Functions|Object]] | ||
+ | * [[Squirrel/Server/Functions#Pickup_Functions|Pickup]] | ||
+ | * [[Squirrel/Server/Functions#Player_Functions|Player]] | ||
+ | * [[Squirrel/Server/Functions#Sound_Functions|Sound]] | ||
+ | * [[Squirrel/Server/Functions#Spawn_Functions|SpawnClass]] | ||
+ | * [[Squirrel/Server/Functions#Sphere_Functions|Sphere]] | ||
+ | * [[Squirrel/Server/Functions#Timer_Functions|Timer]] | ||
+ | * [[Squirrel/Server/Functions#Vehicle_Functions|Vehicle]] | ||
+ | * [[Squirrel/Server/Functions#Hashing_Functions|HashTable]] | ||
+ | * [[Squirrel/Server/Functions#Socket_Functions|Socket]] | ||
+ | * [[Squirrel/Server/Functions#XML_Functions|XmlDocument]] | ||
+ | * [[Squirrel/Server/Functions#XML_Functions|XmlElement]] | ||
+ | |||
+ | == Client == | ||
+ | |||
+ | * [[Squirrel/Client/Functions#Checkpoint_Functions|Checkpoint]] | ||
+ | * [[Squirrel/Client/Functions#Object_Functions|Object]] | ||
+ | * [[Squirrel/Client/Functions#Pickup_Functions|Pickup]] | ||
+ | * [[Squirrel/Client/Functions#Player_Functions|Player]] | ||
+ | * [[Squirrel/Client/Functions#Sound_Functions|Sound]] | ||
+ | * [[Squirrel/Client/Functions#Spawn_Functions|SpawnClass]] | ||
+ | * [[Squirrel/Client/Functions#Sphere_Functions|Sphere]] | ||
+ | * [[Squirrel/Client/Functions#Timer_Functions|Timer]] | ||
+ | * [[Squirrel/Client/Functions#Vehicle_Functions|Vehicle]] | ||
+ | |||
+ | * [[Squirrel/Client/Functions#Button_Functions|GUIButton]] | ||
+ | * [[Squirrel/Client/Functions#Checkbox_Functions|GUICheckbox]] | ||
+ | * [[Squirrel/Client/Functions#Editbox_Functions|GUIEditBox]] | ||
+ | * [[Squirrel/Client/Functions#Layer_Functions|GUILabel]] | ||
+ | * [[Squirrel/Client/Functions#Memobox_Functions|GUIMemoBox]] | ||
+ | * [[Squirrel/Client/Functions#Progress_Bar_Functions|GUIProgressBar]] | ||
+ | * [[Squirrel/Client/Functions#Sprite_Functions|GUISprite]] | ||
+ | * [[Squirrel/Client/Functions#Window_Functions|GUIWindow]] |
Latest revision as of 18:45, 26 January 2017
Squirrel classes are internal classes from the server or client exported to Squirrel scripting. These can be for example in-game entities or data storage classes, such as hash tables. Unlike many other languages, in Squirrel the objects of these classes also act as real objects, which means you can return or modify the class properties (such as health for a player), or use built-in method functions to execute more complex tasks.
The following is a complete list of classes bound to Squirrel scripting. In addition to these, there are also script types which are basically classes without any methods, and they're meant to add extra functionality and ease of use to scripting.
[edit] Server
- Checkpoint
- Object
- Pickup
- Player
- Sound
- SpawnClass
- Sphere
- Timer
- Vehicle
- HashTable
- Socket
- XmlDocument
- XmlElement