Show / Hide Table of Contents

Struct ElementId

Represents an element ID

Inherited Members
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: SlipeServer.Packets.Structs
Assembly: SlipeServer.Packets.dll
Syntax
public readonly struct ElementId

Properties

| Edit this page View Source

Value

Declaration
public uint Value { get; init; }
Property Value
Type Description
uint
| Edit this page View Source

Zero

Declaration
public static ElementId Zero { get; }
Property Value
Type Description
ElementId

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
ValueType.Equals(object)
| 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
ValueType.GetHashCode()
| 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
ValueType.ToString()

Operators

| Edit this page View Source

operator ==(ElementId, ElementId)

Declaration
public static bool operator ==(ElementId left, ElementId right)
Parameters
Type Name Description
ElementId left
ElementId right
Returns
Type Description
bool
| Edit this page View Source

explicit operator uint(ElementId)

Declaration
public static explicit operator uint(ElementId id)
Parameters
Type Name Description
ElementId id
Returns
Type Description
uint
| Edit this page View Source

explicit operator ElementId(uint)

Declaration
public static explicit operator ElementId(uint value)
Parameters
Type Name Description
uint value
Returns
Type Description
ElementId
| Edit this page View Source

operator !=(ElementId, ElementId)

Declaration
public static bool operator !=(ElementId left, ElementId right)
Parameters
Type Name Description
ElementId left
ElementId right
Returns
Type Description
bool
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX