Photon Fusion 2.0.0

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.
 
override bool Equals (object obj)
 Compares two NetworkSceneLoadId for equality.
 
override int GetHashCode ()
 Returns the hash code of the NetworkSceneLoadId
 
 NetworkSceneLoadId (byte value)
 Creates a new NetworkSceneLoadId with the given value.
 

Public Attributes

readonly byte Value
 The value of the id.
 

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