Photon .NET Client API 4.1.4.8

Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
ExitGames.Client.Photon.ParameterDictionary Class Reference

Classes

struct  KeyValuePair
 

Public Member Functions

 ParameterDictionary ()
 
 ParameterDictionary (int capacity)
 
void Clear ()
 
void Add< T > (byte code, byte value)
 
void Add< T > (byte code, bool value)
 
void Add (byte code, string value)
 
void Add (byte code, Hashtable value)
 
void Add (byte code, byte value)
 
void Add (byte code, bool value)
 
void Add (byte code, object value)
 
Unwrap< T > (byte key)
 
Get< T > (byte key)
 
bool ContainsKey (byte key)
 
object TryGetObject (byte key)
 Will get the object using the key. If the key is invalid, will return null. More...
 
bool TryGetValue (byte key, out object value)
 
bool TryGetValue< T > (byte key, out T value)
 
KeyValuePair GetEnumerator ()
 

Static Public Member Functions

static implicit operator NonAllocDictionary< byte, object > (ParameterDictionary value)
 

Public Attributes

readonly NonAllocDictionary< byte, object > paramDict
 
readonly StructWrapperPools wrapperPools = new StructWrapperPools()
 

Properties

object this[byte key] [get, set]
 
int Count [get]
 

Constructor & Destructor Documentation

◆ ParameterDictionary() [1/2]

ExitGames.Client.Photon.ParameterDictionary.ParameterDictionary ( )
inline

◆ ParameterDictionary() [2/2]

ExitGames.Client.Photon.ParameterDictionary.ParameterDictionary ( int  capacity)
inline

Member Function Documentation

◆ Add() [1/5]

void ExitGames.Client.Photon.ParameterDictionary.Add ( byte  code,
bool  value 
)
inline

◆ Add() [2/5]

void ExitGames.Client.Photon.ParameterDictionary.Add ( byte  code,
byte  value 
)
inline

◆ Add() [3/5]

void ExitGames.Client.Photon.ParameterDictionary.Add ( byte  code,
Hashtable  value 
)
inline

◆ Add() [4/5]

void ExitGames.Client.Photon.ParameterDictionary.Add ( byte  code,
object  value 
)
inline

◆ Add() [5/5]

void ExitGames.Client.Photon.ParameterDictionary.Add ( byte  code,
string  value 
)
inline

◆ Add< T >() [1/2]

void ExitGames.Client.Photon.ParameterDictionary.Add< T > ( byte  code,
bool  value 
)
inline

◆ Add< T >() [2/2]

void ExitGames.Client.Photon.ParameterDictionary.Add< T > ( byte  code,
byte  value 
)
inline

◆ Clear()

void ExitGames.Client.Photon.ParameterDictionary.Clear ( )
inline

◆ ContainsKey()

bool ExitGames.Client.Photon.ParameterDictionary.ContainsKey ( byte  key)
inline

◆ Get< T >()

T ExitGames.Client.Photon.ParameterDictionary.Get< T > ( byte  key)
inline

◆ GetEnumerator()

KeyValuePair ExitGames.Client.Photon.ParameterDictionary.GetEnumerator ( )
inline

◆ operator NonAllocDictionary< byte, object >()

static implicit ExitGames.Client.Photon.ParameterDictionary.operator NonAllocDictionary< byte, object > ( ParameterDictionary  value)
inlinestatic

◆ TryGetObject()

object ExitGames.Client.Photon.ParameterDictionary.TryGetObject ( byte  key)
inline

Will get the object using the key. If the key is invalid, will return null.

Parameters
key
Returns

◆ TryGetValue()

bool ExitGames.Client.Photon.ParameterDictionary.TryGetValue ( byte  key,
out object  value 
)
inline

◆ TryGetValue< T >()

bool ExitGames.Client.Photon.ParameterDictionary.TryGetValue< T > ( byte  key,
out T  value 
)
inline
Type Constraints
T :struct 

◆ Unwrap< T >()

T ExitGames.Client.Photon.ParameterDictionary.Unwrap< T > ( byte  key)
inline

Member Data Documentation

◆ paramDict

readonly NonAllocDictionary<byte, object> ExitGames.Client.Photon.ParameterDictionary.paramDict

◆ wrapperPools

readonly StructWrapperPools ExitGames.Client.Photon.ParameterDictionary.wrapperPools = new StructWrapperPools()

Property Documentation

◆ Count

int ExitGames.Client.Photon.ParameterDictionary.Count
get

◆ this[byte key]

object ExitGames.Client.Photon.ParameterDictionary.this[byte key]
getset

The documentation for this class was generated from the following file: