Photon Fusion 1.1.9

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

Translates INetworkInput structs and represents them in Fusions's unsafe allocated memory. More...

Public Member Functions

void Convert< T > ()
 
Get< T > ()
 
bool Is< T > ()
 
 NetworkInput (int *ptr, int wordCount)
 
void Set< T > (T value)
 
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.
 

Public Attributes

int * _ptr
 
int _wordCount
 

Properties

int * Data [get]
 Returns pointer to the INetworkInput struct data in memory.
 
int Type [get, set]
 
bool Valid [get]
 

Detailed Description

Translates INetworkInput structs and represents them in Fusions's unsafe allocated memory.

Member Function Documentation

◆ Convert< T >()

void Convert< T > ( )
Type Constraints
T :unmanaged 
T :INetworkInput 

◆ Get< T >()

T Get< T > ( )
Type Constraints
T :unmanaged 
T :INetworkInput 

◆ Is< T >()

bool Is< T > ( )
Type Constraints
T :unmanaged 
T :INetworkInput 

◆ Set< T >()

void Set< T > ( value)
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