TeleporterObject
ThaumielMapEditor.API.Blocks.ServerObjects
Overviewβ
Propertiesβ
| Name | Type | Access | Description |
|---|---|---|---|
AllowedRoles | List<RoleTypeId> | get set | Gets or sets the PlayerRoles.RoleTypeIds allowed for this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance |
CoolDown | float | get set | Gets or sets the cooldown time for this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance |
Flags | TeleporterFlags | get set | Gets the ThaumielMapEditor.API.Enums.TeleporterFlags of this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance |
Id | Guid | get | Gets the Id for this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance |
ObjectType | ObjectType | get set | Gets or sets the type of the object represented by this instance. |
PerPlayerCooldown | bool | get set | Gets or sets whether this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance uses perplayer cooldowns or global cooldowns. |
Targets | List<Guid> | get set | Gets or sets the Id to teleport to for this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance |
TeleporterHandler | TeleporterHandler | get | No description |
Methodsβ
| Signature | Returns | Description |
|---|---|---|
ParseValues(SerializableObject) | void | No description |
SpawnObject(SchematicData, SerializableObject) | void | Spawns the specified ThaumielMapEditor.API.Blocks.ServerObject into the server⦠|
Propertiesβ
AllowedRolesβ
Type: List<RoleTypeId>βAccess: get set
Gets or sets the PlayerRoles.RoleTypeIds allowed for this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance
CoolDownβ
Type: floatβAccess: get set
Gets or sets the cooldown time for this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance
Flagsβ
Type: TeleporterFlagsβAccess: get set
Gets the ThaumielMapEditor.API.Enums.TeleporterFlags of this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance
Idβ
Type: GuidβAccess: get
Gets the Id for this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance
ObjectTypeβ
Type: ObjectTypeβAccess: get set
Gets or sets the type of the object represented by this instance.
PerPlayerCooldownβ
Type: boolβAccess: get set
Gets or sets whether this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance uses perplayer cooldowns or global cooldowns.
Targetsβ
Type: List<Guid>βAccess: get set
Gets or sets the Id to teleport to for this ThaumielMapEditor.API.Blocks.ServerObjects.TeleporterObject instance
TeleporterHandlerβ
Type: TeleporterHandlerβAccess: get
Methodsβ
ParseValuesβ
public void ParseValues(SerializableObject serializable)
Parametersβ
| Name | Type | Description |
|---|---|---|
serializable | SerializableObject |
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 |