Photon Fusion 2.1.1

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

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

Detailed Description

NetworkInput Struct.