Photon Fusion 2.0.4

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
NetworkSceneLoadId Struct Reference

A unique identifier for a scene load operation. More...

Inherits IEquatable< NetworkSceneLoadId >.

Public Member Functions

bool Equals (NetworkSceneLoadId other)
 Compares two NetworkSceneLoadId for equality More...
 
override bool Equals (object obj)
 Compares two NetworkSceneLoadId for equality More...
 
override int GetHashCode ()
 Returns the hash code of the NetworkSceneLoadId More...
 
 NetworkSceneLoadId (byte value)
 Creates a new NetworkSceneLoadId with the given value More...
 
override string ToString ()
 

Static Public Member Functions

static implicit operator NetworkSceneLoadId (byte value)
 
static bool operator!= (NetworkSceneLoadId left, NetworkSceneLoadId right)
 
static bool operator== (NetworkSceneLoadId left, NetworkSceneLoadId right)
 

Public Attributes

readonly byte Value
 The value of the id More...
 

Detailed Description

A unique identifier for a scene load operation.

Constructor & Destructor Documentation

◆ NetworkSceneLoadId()

NetworkSceneLoadId ( byte  value)

Creates a new NetworkSceneLoadId with the given value

Parameters
valueThe value of the id

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( NetworkSceneLoadId  other)

Compares two NetworkSceneLoadId for equality

Parameters
otherThe other NetworkSceneLoadId
Returns
Returns true if the two NetworkSceneLoadId are equal

◆ Equals() [2/2]

override bool Equals ( object  obj)

Compares two NetworkSceneLoadId for equality

Parameters
objThe other object to check
Returns
Returns true if the two NetworkSceneLoadId are equal

◆ GetHashCode()

override int GetHashCode ( )

Returns the hash code of the NetworkSceneLoadId

◆ operator NetworkSceneLoadId()

static implicit operator NetworkSceneLoadId ( byte  value)
static

Parameters
value
Returns

◆ operator!=()

static bool operator!= ( NetworkSceneLoadId  left,
NetworkSceneLoadId  right 
)
static

Parameters
left
right
Returns

◆ operator==()

static bool operator== ( NetworkSceneLoadId  left,
NetworkSceneLoadId  right 
)
static

Parameters
left
right
Returns

◆ ToString()

override string ToString ( )

Returns

Member Data Documentation

◆ Value

readonly byte Value

The value of the id