Struct IslandConnection
- Namespace
- Root
- Assembly
- Game.Core.Map.Layout.Model.dll
public readonly struct IslandConnection : IEntityConnectionModel<GlobalChunkPivot>
- Implements
- Extension Methods
Constructors
IslandConnection(IslandConnector, IslandConnector)
public IslandConnection(IslandConnector from, IslandConnector to)
Parameters
fromIslandConnectortoIslandConnector
IslandConnection(IslandConnector, bool)
public IslandConnection(IslandConnector from, bool isConflicting)
Parameters
fromIslandConnectorisConflictingbool
Fields
FromConnector
public readonly IslandConnector FromConnector
Field Value
Invalid
public static IslandConnection Invalid
Field Value
ToConnector
public readonly IslandConnector ToConnector
Field Value
Properties
IsConflicting
public bool IsConflicting { get; }
Property Value
- bool
IsConnected
public bool IsConnected { get; }
Property Value
- bool
Methods
Equals(IEntityConnectionModel<GlobalChunkPivot>)
public bool Equals(IEntityConnectionModel<GlobalChunkPivot> other)
Parameters
Returns
- bool
Equals(IslandConnection)
public bool Equals(IslandConnection other)
Parameters
otherIslandConnection
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
Operators
operator ==(IslandConnection, IslandConnection)
public static bool operator ==(IslandConnection lhs, IslandConnection rhs)
Parameters
lhsIslandConnectionrhsIslandConnection
Returns
- bool
operator !=(IslandConnection, IslandConnection)
public static bool operator !=(IslandConnection lhs, IslandConnection rhs)
Parameters
lhsIslandConnectionrhsIslandConnection
Returns
- bool