workshop

From Teverse


Properties

className [readonly]

Type: string

interface [readonly]

Type: interface

gameCloudId [readonly]

Type: string

name [readonly]

Type: string

gameFilePath [readonly]

Type: string

Inherited from baseClass:

name

Type: string
A none unique identifier

className [readonly]

Type: string
The name of the object's class

Methods

joinGame

nil workshop:joinGame()

hasLocalTevGit

nil workshop:hasLocalTevGit()

getMembersOfInstance

nil workshop:getMembersOfInstance()

setTevGit

nil workshop:setTevGit()

openFileDialogue

nil workshop:openFileDialogue()

setSettings

nil workshop:setSettings()

setSoundDebug

nil workshop:setSoundDebug()

reloadCreate

nil workshop:reloadCreate()

newGame

nil workshop:newGame()

remoteTestServer

nil workshop:remoteTestServer()

clearGame

nil workshop:clearGame()

apiDump

nil workshop:apiDump()

saveGameAsDialogue

nil workshop:saveGameAsDialogue()

reloadShaders

nil workshop:reloadShaders()

getEventsOfObject

nil workshop:getEventsOfObject()

saveGame

nil workshop:saveGame()

loadString

nil workshop:loadString()

getMembersOfObject

nil workshop:getMembersOfObject()

publishDialogue

nil workshop:publishDialogue()

setPhysicsDebug

nil workshop:setPhysicsDebug()

getSettings

nil workshop:getSettings()

Inherited from baseClass:

getDescendants

table workshop:getDescendants()
Returns a table of all descended objects

isContainer

boolean workshop:isContainer()

isA

boolean workshop:isA(string className)
Returns true if this object is derived from the className given.

destroy

nil workshop:destroy()
Locks the object before removing it from the hierarchy. Children will also be destroyed.

getFullName

string workshop:getFullName()
Returns a string including ancestor names

constructor

nil workshop:constructor()

destroyAllChildren

nil workshop:destroyAllChildren()
Invokes the destroy method on each child of this instance.

hasChild

boolean workshop:hasChild(string name)
Returns true if this object has a child with the name given

isDescendantOf

boolean workshop:isDescendantOf(baseClass ancestor)
Returns true if this object is a descendant of the ancestor object given

describe

nil workshop:describe()

clone

variant workshop:clone()
Creates and returns a copy of this object

Events

published

eventListener workshop:published(function())

Inherited from baseClass:

changed

eventListener workshop:changed(function(string propertyName, variant newValuevariant))
Fired when a property changes

childAdded

eventListener workshop:childAdded(function(baseClass child))
Fired when a child is added

childRemoved

eventListener workshop:childRemoved(function(baseClass child))
Fired when a child is removed

destroying

eventListener workshop:destroying(function())
Fired just before an object is destroyed.

Sub classes

Category derivedFromworkshop not found