Skip to main content

LODHelper

class ThaumielMapEditor.API.Helpers

Overview​

Properties​

NameTypeAccessDescription
PlayersInLODZonesDictionary<Player, HashSet<LODZone>>get setGets or sets the LabApi.Features.Wrappers.Players that are in a ThaumielMapEditor.API.Components.LODZone

Methods​

SignatureReturnsDescription
GenerateLODZones(SchematicData, SerializableSchematic)List<LODData>No description
GetPlayersInZone(LODZone)IEnumerable<Player>Gets the LabApi.Features.Wrappers.Players in the specified `ThaumielMapEditor.…
PlayersInsideZone(UInt32, SchematicData)IEnumerable<Player>Gets the players that are inside of the specified `ThaumielMapEditor.API.Compone…

Properties​

PlayersInLODZones​

Type: Dictionary<Player, HashSet<LODZone>> Access: get set

Gets or sets the LabApi.Features.Wrappers.Players that are in a ThaumielMapEditor.API.Components.LODZone


Methods​

GenerateLODZones​

GenerateLODZones
public List<LODData> GenerateLODZones(
SchematicData schematic,
SerializableSchematic serializable
)

Parameters​

NameTypeDescription
schematicSchematicData
serializableSerializableSchematic

Returns​

List<LODData>


GetPlayersInZone​

GetPlayersInZone
public IEnumerable<Player> GetPlayersInZone(LODZone zone)

Gets the LabApi.Features.Wrappers.Players in the specified ThaumielMapEditor.API.Components.LODZone

Parameters​

NameTypeDescription
zoneLODZone

Returns​

IEnumerable<Player>


PlayersInsideZone​

PlayersInsideZone
public IEnumerable<Player> PlayersInsideZone(
UInt32 index,
SchematicData schematic
)

Gets the players that are inside of the specified ThaumielMapEditor.API.Components.LODZone index.

Parameters​

NameTypeDescription
indexUInt32
schematicSchematicData

Returns​

IEnumerable<Player>