Methods

inline acquireMutex ():Void

Acquires the clan module mutex. This should be used each time you do something with clan instance internals directly.

getClan (clanID:Int):ClanCore

Returns clan instance.

Note: This method returns a thread-unsafe structure. Before working with it directly you should acquire the clan module mutex and release it afterwards with acquireMutex() and releaseMutex().

Parameters:

clanID

Clan ID.

Returns:

Clan instance. Returns null if clan was not found.

inline releaseMutex ():Void

Releases the clan module mutex. This should be used each time you do something with clan instance internals directly.