Photon Fusion 1.1.11

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. More...
 
bool TrySet< T > (T input)
 Tries to import data from a INetworkInput struct. More...
 

Public Attributes

int * _ptr
 
int _wordCount
 

Properties

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

Detailed Description

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

Member Function Documentation

◆ 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

int*? Data
get

Returns pointer to the INetworkInput struct data in memory.