CapybaraObjectServer
ThaumielMapEditor.API.Blocks.ServerObjects
Overviewβ
Propertiesβ
| Name | Type | Access | Description |
|---|---|---|---|
Base | CapybaraToy | get | No description |
CollisionsEnabled | bool | get set | No description |
ObjectType | ObjectType | get set | Gets or sets the type of the object represented by this instance. |
Methodsβ
| Signature | Returns | Description |
|---|---|---|
SpawnObject(SchematicData, SerializableObject) | void | Spawns the specified ThaumielMapEditor.API.Blocks.ServerObject into the server⦠|
Propertiesβ
Baseβ
Type: CapybaraToyβAccess: get
CollisionsEnabledβ
Type: boolβAccess: get set
ObjectTypeβ
Type: ObjectTypeβAccess: get set
Gets or sets the type of the object represented by this instance.
Methodsβ
SpawnObjectβ
SpawnObject
public void SpawnObject(
SchematicData schematic,
SerializableObject serializable
)
Spawns the specified ThaumielMapEditor.API.Blocks.ServerObject into the server and adds it to the provided ThaumielMapEditor.API.Data.SchematicData's ThaumielMapEditor.API.Data.SchematicData.SpawnedServerObjects list.
Parametersβ
| Name | Type | Description |
|---|---|---|
schematic | SchematicData | |
serializable | SerializableObject |