Enums¶
Enum-like string and integer types used across the client.
Role¶
type clashy.Role
Role is a member's role inside a clan.
string
Values¶
Village Type¶
type clashy.VillageType
VillageType identifies the village or game area for static data and units.
string
Values¶
Load Game Data¶
struct clashy.LoadGameData
LoadGameData describes when static game data should be loaded.
StartupOnly¶
bool
StartupOnly indicates static data should be loaded during client construction only.
Always¶
bool
Always indicates static data should be refreshed whenever supported by the caller's workflow.
Clan Type¶
type clashy.ClanType
ClanType describes a clan's join policy.
string
Values¶
ClanTypeInviteOnly¶
"inviteOnly"
ClanTypeInviteOnly means players must request or be invited to join.
War Round¶
type clashy.WarRound
WarRound identifies the logical CWL round requested from GetCurrentWar or GetLeagueWar.
int
Values¶
CurrentWar¶
CurrentWar selects the active CWL war, or the latest completed/in-war round when the latest real round is only preparation.
CurrentPreparation¶
CurrentPreparation selects the upcoming CWL preparation round when one is available.
War State¶
type clashy.WarState
WarState is the lifecycle state of a classic war or CWL war.
string
Values¶
War Result¶
type clashy.WarResult
WarResult is the requested clan's result in a war log entry.
string