A collection of methods useful in one or another context. More...
Static Public Member Functions | |
static void | ConvertAs3WellKnownPropertyKeys (Hashtable gameProps, Hashtable actorProps) |
Converts well known properties sent by AS3/Flash clients - from string to byte-keys. More... | |
static void | ConvertAs3WellKnownPropertyKeys (IList gamePropertyKeys, IList actorPropertyKeys) |
Converts well known properties sent by AS3/Flash clients - from string to byte-keys. More... | |
A collection of methods useful in one or another context.
|
inlinestatic |
Converts well known properties sent by AS3/Flash clients - from string to byte-keys.
Check if peer is a flash (amf3) client because flash clients does not support byte keys in a hastable. If a flash client likes to match a game with a specific 'MaxPlayer' value 'MaxPlayer' will be sent with the string key "255" and the max player value as int.
gameProps | A game properties hashtable. |
actorProps | A actor properties hashtable. |
|
inlinestatic |
Converts well known properties sent by AS3/Flash clients - from string to byte-keys.
gamePropertyKeys | The game properties list. |
actorPropertyKeys | The actor properties list. |