Python scripting OLP Core - Objects

OlpCorePythonResource, derived from OlpCorePythonItem

Methods

 

GetItemType(): ItemType

 

 

o

return

item type

 

Gets item type of this resource.

 


 

GetItemSubType(): ItemSubType

 

 

o

return

item subtype

 

Gets item subtype of this resource.

 


 

GetSupportedTurns(): list[str]

 

 

o

return

returns all supported turns on this resource as list of strings

 

Gets all supported turns on this resource if the resource is a machine or robot

 


GetSupportedConfigurations(): list[str]

 

 

o

return

returns all supported configurations on this resource as list of strings

 

Gets all supported configurations on this resource if the resource is a machine or robot

 



Previous
Page précédente
Chapter
Page principale du chapitre
Next
Page suivante