Photon Fusion 2.0.0

Public Member Functions | Properties | List of all members
NetworkInput Struct Reference

NetworkInput Struct. More...

Public Member Functions

bool Convert (Type type)
 
bool Convert< T > ()
 Converts the Type of this INetworkInput to another type.
 
Get< T > ()
 Gets the content of this INetworkInput as another type.
 
bool Is< T > ()
 Checks if this INetworkInput is of a certain type.
 
bool Set< T > (T value)
 Sets the content of this INetworkInput to another type.
 
bool TryGet< T > (out T input)
 Tries to export data as the indicated T INetworkInput struct.
 
bool TrySet< T > (T input)
 Tries to import data from a INetworkInput struct.
 

Properties

uint * Data [get]
 Data pointer of the NetworkInput
 
bool IsValid [get]
 Signal if the NetworkInput is valid or not.
 
Type Type [get]
 Get the Type associated with this NetworkInput
 
int WordCount [get]
 Number of Words for the NetworkInput
 

Detailed Description

NetworkInput Struct.

Member Function Documentation

◆ Convert< T >()

bool Convert< T > ( )

Converts the Type of this INetworkInput to another type.

Type Constraints
T :unmanaged 
T :INetworkInput 
T :Convert 
T :typeof 
T :T 

◆ Get< T >()

T Get< T > ( )

Gets the content of this INetworkInput as another type.

Type Constraints
T :unmanaged 
T :INetworkInput 

◆ Is< T >()

bool Is< T > ( )

Checks if this INetworkInput is of a certain type.

Type Constraints
T :unmanaged 
T :INetworkInput 

◆ Set< T >()

bool Set< T > ( value)

Sets the content of this INetworkInput to another type.

Type Constraints
T :unmanaged 
T :INetworkInput 

◆ TryGet< T >()

bool TryGet< T > ( out T  input)

Tries to export data as the indicated T INetworkInput struct.

Type Constraints
T :unmanaged 
T :INetworkInput 

◆ TrySet< T >()

bool TrySet< T > ( input)

Tries to import data from a INetworkInput struct.

Type Constraints
T :unmanaged 
T :INetworkInput