Photon Fusion 2.0.3

Static Public Member Functions | List of all members
NetworkInputUtils Class Reference

Utility methods for NetworkInput More...

Static Public Member Functions

static int GetMaxWordCount ()
 Get the max word count from all registered types
More...
 
static Type GetType (int typeKey)
 Get the Type based on its associate Key More...
 
static int GetTypeKey (Type type)
 Get the Key associate with the argument Type More...
 
static int GetWordCount (Type type)
 Get Type Word Count if it is of type NetworkInput More...
 

Detailed Description

Utility methods for NetworkInput

Member Function Documentation

◆ GetMaxWordCount()

static int GetMaxWordCount ( )
static

Get the max word count from all registered types

◆ GetType()

static Type GetType ( int  typeKey)
static

Get the Type based on its associate Key

Parameters
typeKeyKey associated with a Type
Returns
Type associated with the Key, or null otherwise

◆ GetTypeKey()

static int GetTypeKey ( Type  type)
static

Get the Key associate with the argument Type

Parameters
typeType to check for the key
Returns
Associated Type Key, or an exception if not found

◆ GetWordCount()

static int GetWordCount ( Type  type)
static

Get Type Word Count if it is of type NetworkInput

Parameters
typeType to check for word count
Returns
Number of words for the NetworkInput