Photon Fusion 1.1.2

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

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

Public Attributes

int * _ptr
 
int _wordCount
 

Properties

int? Type [get, set]
 
int *? Data [get]
 Returns pointer to the INetworkInput struct data in memory. More...
 
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.