Struct ElementId
Assembly: SlipeServer.Packets.dll
Syntax
public readonly struct ElementId
Properties
|
Edit this page
View Source
Value
Declaration
public uint Value { get; init; }
Property Value
|
Edit this page
View Source
Zero
Declaration
public static ElementId Zero { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(object?)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current instance.
|
Returns
Type |
Description |
bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
Overrides
|
Edit this page
View Source
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
|
Edit this page
View Source
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
The fully qualified type name.
|
Overrides
Operators
|
Edit this page
View Source
operator ==(ElementId, ElementId)
Declaration
public static bool operator ==(ElementId left, ElementId right)
Parameters
Returns
|
Edit this page
View Source
explicit operator uint(ElementId)
Declaration
public static explicit operator uint(ElementId id)
Parameters
Returns
|
Edit this page
View Source
explicit operator ElementId(uint)
Declaration
public static explicit operator ElementId(uint value)
Parameters
Type |
Name |
Description |
uint |
value |
|
Returns
|
Edit this page
View Source
operator !=(ElementId, ElementId)
Declaration
public static bool operator !=(ElementId left, ElementId right)
Parameters
Returns