Photon Fusion 2.0.3

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 More...
 
Get< T > ()
 Gets the content of this INetworkInput as another type More...
 
bool Is< T > ()
 Checks if this INetworkInput is of a certain type More...
 
bool Set< T > (T value)
 Sets the content of this INetworkInput to another type More...
 
bool TryGet< T > (out T input)
 Tries to export data as the indicated T INetworkInput struct. More...
 
bool TrySet< T > (T input)
 Tries to import data from a INetworkInput struct. More...
 

Properties

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

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 

Property Documentation

◆ Data

uint* Data
get

Data pointer of the NetworkInput

◆ IsValid

bool IsValid
get

Signal if the NetworkInput is valid or not

◆ Type

Type Type
get

Get the Type associated with this NetworkInput

◆ WordCount

int WordCount
get

Number of Words for the NetworkInput