Table of Contents

Struct RayId

Namespace
Phoesion.Glow.SDK
Assembly
Phoesion.Glow.SDK.Photons.dll
[MessagePackObject(false)]
public struct RayId : IEquatable<RayId>
Implements

Fields

MaxStringLength

public const int MaxStringLength = 32

Field Value

int

MaxValue

public static readonly RayId MaxValue

Field Value

RayId

NullString

public static readonly string NullString

Field Value

string

Properties

Nonce1

[Key(0)]
public ulong Nonce1 { readonly get; set; }

Property Value

ulong

Nonce2

[Key(1)]
public ulong Nonce2 { readonly get; set; }

Property Value

ulong

Methods

BuildString()

public string BuildString()

Returns

string

Equals(RayId)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(RayId other)

Parameters

other RayId

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(ref RayId)

public bool Equals(ref RayId other)

Parameters

other RayId

Returns

bool

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

Generate()

public static RayId Generate()

Returns

RayId

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

IsValid()

public bool IsValid()

Returns

bool

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

TryParse(ReadOnlySpan<char>, out RayId)

public static bool TryParse(ReadOnlySpan<char> span, out RayId rayId)

Parameters

span ReadOnlySpan<char>
rayId RayId

Returns

bool

TryParse(ref ReadOnlySpan<char>, out RayId)

public static bool TryParse(ref ReadOnlySpan<char> span, out RayId rayId)

Parameters

span ReadOnlySpan<char>
rayId RayId

Returns

bool

TryParseOrDefault(ReadOnlySpan<char>)

public static RayId TryParseOrDefault(ReadOnlySpan<char> span)

Parameters

span ReadOnlySpan<char>

Returns

RayId

Operators

operator ==(RayId, RayId)

public static bool operator ==(RayId left, RayId right)

Parameters

left RayId
right RayId

Returns

bool

operator !=(RayId, RayId)

public static bool operator !=(RayId left, RayId right)

Parameters

left RayId
right RayId

Returns

bool