Table of Contents

Class HUDIslandMassSelection

Namespace
Root
Assembly
SPZGameAssembly.dll
public class HUDIslandMassSelection : HUDMassSelectionBase<IslandModel, GlobalChunkCoordinate>, IHUDMassSelection
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
HUDIslandMassSelection
Implements
Inherited Members
Extension Methods

Constructors

HUDIslandMassSelection()

public HUDIslandMassSelection()

Properties

Selection

protected override ISelection<IslandModel> Selection { get; }

Property Value

ISelection<IslandModel>

Methods

ComputeCursorWorldPosition()

protected override float3 ComputeCursorWorldPosition()

Returns

float3

ComputeEntriesInArea(GlobalChunkCoordinate, GlobalChunkCoordinate, HashSet<IslandModel>)

protected override void ComputeEntriesInArea(GlobalChunkCoordinate fromInclusive_GC, GlobalChunkCoordinate toInclusive_GC, HashSet<IslandModel> result)

Parameters

fromInclusive_GC GlobalChunkCoordinate
toInclusive_GC GlobalChunkCoordinate
result HashSet<IslandModel>

CreateDeleteAction(IReadOnlyCollection<IslandModel>)

protected override IPlayerAction CreateDeleteAction(IReadOnlyCollection<IslandModel> entries)

Parameters

entries IReadOnlyCollection<IslandModel>

Returns

IPlayerAction

Draw_AreaSelection(FrameDrawOptions, GlobalChunkCoordinate, GlobalChunkCoordinate, HUDMassSelectionSelectionType)

protected override void Draw_AreaSelection(FrameDrawOptions options, GlobalChunkCoordinate from_GC, GlobalChunkCoordinate to_GC, HUDMassSelectionSelectionType type)

Parameters

options FrameDrawOptions
from_GC GlobalChunkCoordinate
to_GC GlobalChunkCoordinate
type HUDMassSelectionSelectionType

Draw_ExistingSelection(FrameDrawOptions, IReadOnlyCollection<IslandModel>)

protected override void Draw_ExistingSelection(FrameDrawOptions options, IReadOnlyCollection<IslandModel> selection)

Parameters

options FrameDrawOptions
selection IReadOnlyCollection<IslandModel>

Draw_HoverState(FrameDrawOptions, IslandModel, float)

protected override void Draw_HoverState(FrameDrawOptions options, IslandModel island, float alpha)

Parameters

options FrameDrawOptions
island IslandModel
alpha float

Draw_PendingSelection(FrameDrawOptions, IReadOnlyCollection<IslandModel>, HUDMassSelectionSelectionType)

protected override void Draw_PendingSelection(FrameDrawOptions options, IReadOnlyCollection<IslandModel> entities, HUDMassSelectionSelectionType type)

Parameters

options FrameDrawOptions
entities IReadOnlyCollection<IslandModel>
type HUDMassSelectionSelectionType

FindEntityBelowCursor()

protected override IslandModel FindEntityBelowCursor()

Returns

IslandModel

GetTargetScopeState()

protected override PlayerInteractionState GetTargetScopeState()

Returns

PlayerInteractionState

Hook_OnEntriesDeleted(IReadOnlyCollection<IslandModel>)

protected override void Hook_OnEntriesDeleted(IReadOnlyCollection<IslandModel> entries)

Parameters

entries IReadOnlyCollection<IslandModel>

IsRemovable(IslandModel)

protected override bool IsRemovable(IslandModel island)

Parameters

island IslandModel

Returns

bool

OnDeleteSelection(IReadOnlyCollection<IslandModel>)

protected override void OnDeleteSelection(IReadOnlyCollection<IslandModel> selection)

Parameters

selection IReadOnlyCollection<IslandModel>

OnDeleteSelectionFail(IReadOnlyCollection<IslandModel>)

protected override void OnDeleteSelectionFail(IReadOnlyCollection<IslandModel> selection)

Parameters

selection IReadOnlyCollection<IslandModel>

OnDispose()

protected override void OnDispose()

OnEntriesAddedToSelection(IEnumerable<IslandModel>)

protected override void OnEntriesAddedToSelection(IEnumerable<IslandModel> entries)

Parameters

entries IEnumerable<IslandModel>

OnEntriesRemovedFromSelection(IEnumerable<IslandModel>)

protected override void OnEntriesRemovedFromSelection(IEnumerable<IslandModel> entries)

Parameters

entries IEnumerable<IslandModel>

OnHover(IslandModel)

protected override void OnHover(IslandModel target)

Parameters

target IslandModel

UpdateAreaSelectionRange(ref GlobalChunkCoordinate?, ref GlobalChunkCoordinate?, out bool)

protected override void UpdateAreaSelectionRange(ref GlobalChunkCoordinate? from, ref GlobalChunkCoordinate? to, out bool changed)

Parameters

from GlobalChunkCoordinate?
to GlobalChunkCoordinate?
changed bool