Clan user structure. Slave server version. Any changes in the instance will be sent over to cache server immediately. Note that its contents are not synchronized automatically with instances on other servers.

Constructor

new (s:Server, cid:Int, vobj:Dynamic)

Fields

read only clanID:Int

read only id:Int

Methods

getBool (key:String):Bool

Returns user attribute value as Bool.

Parameters:

key

Attribute key.

Returns:

Attribute value. Returns false, if this mapping is not found.

inline getDynamic (key:String):Dynamic

Returns user attribute value as Dynamic.

Parameters:

key

Attribute key.

Returns:

Attribute value. Returns null, if this mapping is not found.

getFloat (key:String):Float

Returns user attribute value as Float.

Parameters:

key

Attribute key.

Returns:

Attribute value. Returns 0, if this mapping is not found.

inline getInt (key:String):Int

Returns user attribute value as Int.

Parameters:

key

Attribute key.

Returns:

Attribute value. Returns 0, if this mapping is not found.

inline setAttr (key:String, val:Dynamic):Void

Sets clan user attribute to a given value.

Parameters:

key

Clan user attribute name.

val

Clan user attribute value.