12 virtual void bind()
override;
14 apikey apiPlayerShip();
15 apikey apiCreateShip(
const std::string& name);
16 apikey apiCreateWorldObject(
const std::string& name);
17 int apiSpawn(apikey worldObject);
18 int apiRemove(apikey worldObject);
20 int apiSetPosition(apikey worldObject,
const glm::vec3& position);
21 int apiSetOrientation(apikey worldObject,
const glm::vec3& orientation);
22 glm::vec3 apiPosition(apikey worldObject);
23 glm::vec3 apiOrientation(apikey worldObject);
24 int apiSetShowOnHud(apikey worldObject,
bool show);
25 int apiSetCanLockOn(apikey worldObject,
bool lockon);
27 apikey apiOnWorldObjectDestroyed(apikey worldObject,
const std::string& callback);
28 apikey apiOnAABBEntered(apikey worldObject,
const glm::vec3& llf,
const glm::vec3& urb,
const std::string& callback);
Definition: gameplayscript.h:17
Definition: bindings.h:13
Definition: worldobjectbindings.h:6