Table of Contents

Struct PhotonId

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

Fields

MaxPartialStringLength

public const int MaxPartialStringLength = 8

Field Value

int

MaxStringLength

public const int MaxStringLength = 40

Field Value

int

NonceNullString

public static readonly string NonceNullString

Field Value

string

None

public static PhotonId None

Field Value

PhotonId

NullString

public static readonly string NullString

Field Value

string

Properties

Nonce

[Key(1)]
public uint Nonce { readonly get; set; }

Property Value

uint

RayId

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

Property Value

RayId

Methods

BuildString(out string)

public string BuildString(out string rayId)

Parameters

rayId string

Returns

string

Equals(PhotonId)

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

public bool Equals(PhotonId other)

Parameters

other PhotonId

An object to compare with this object.

Returns

bool

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

Equals(ref PhotonId)

public bool Equals(ref PhotonId other)

Parameters

other PhotonId

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 PhotonId Generate()

Returns

PhotonId

Generate(RayId)

public static PhotonId Generate(RayId rayId)

Parameters

rayId RayId

Returns

PhotonId

Generate(ref RayId)

public static PhotonId Generate(ref RayId rayId)

Parameters

rayId RayId

Returns

PhotonId

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

ToPartialString()

public string ToPartialString()

Returns

string

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

ToTraceParentHeader()

public string ToTraceParentHeader()

Returns

string

Operators

operator ==(PhotonId, PhotonId)

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

Parameters

left PhotonId
right PhotonId

Returns

bool

operator !=(PhotonId, PhotonId)

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

Parameters

left PhotonId
right PhotonId

Returns

bool