space-engineers-api
0.9.0
common
space-engineers-api
/
spaceEngineers.controller.useobject
/
UseObjectExtensions
Use
Object
Extensions
common
class
UseObjectExtensions
(
val
spaceEngineers
:
SpaceEngineers
)
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Use
Object
Extensions
Link copied to clipboard
common
fun
UseObjectExtensions
(
spaceEngineers
:
SpaceEngineers
)
Content copied to clipboard
Functions
close
If
Not
Closed
Link copied to clipboard
common
fun
closeIfNotClosed
(
door
:
DoorBase
)
Content copied to clipboard
open
If
Not
Opened
Link copied to clipboard
common
fun
openIfNotOpened
(
door
:
DoorBase
)
Content copied to clipboard
press
Button
Link copied to clipboard
common
fun
pressButton
(
button
:
Block
,
index
:
Int
=
0
)
Content copied to clipboard
toggle
Link copied to clipboard
common
fun
toggle
(
door
:
DoorBase
)
Content copied to clipboard
use
Primary
Action
Link copied to clipboard
common
fun
usePrimaryAction
(
block
:
Block
,
name
:
String
,
index
:
Int
=
0
)
Content copied to clipboard
use
Secondary
Action
Link copied to clipboard
common
fun
useSecondaryAction
(
block
:
Block
,
name
:
String
,
index
:
Int
=
0
)
Content copied to clipboard
Properties
space
Engineers
Link copied to clipboard
common
val
spaceEngineers
:
SpaceEngineers
Content copied to clipboard