FactionFlag

Client Version 1, Client Version 2

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/faction/cmsg_set_faction_atwar.wowm:1.

flag FactionFlag : u8 {
    VISIBLE = 0x01;
    AT_WAR = 0x02;
    HIDDEN = 0x04;
    INVISIBLE_FORCED = 0x08;
    PEACE_FORCED = 0x10;
    INACTIVE = 0x20;
    RIVAL = 0x40;
}

Type

The basic type is u8, a 1 byte (8 bit) integer.

Enumerators

EnumeratorValueComment
VISIBLE1 (0x01)makes visible in client (set or can be set at interaction with target of this faction)
AT_WAR2 (0x02)enable AtWar-button in client. player controlled (except opposition team always war state), Flag only set on initial creation
HIDDEN4 (0x04)hidden faction from reputation pane in client (player can gain reputation, but this update not sent to client)
INVISIBLE_FORCED8 (0x08)always overwrite FACTION_FLAG_VISIBLE and hide faction in rep.list, used for hide opposite team factions
PEACE_FORCED16 (0x10)always overwrite FACTION_FLAG_AT_WAR, used for prevent war with own team factions
INACTIVE32 (0x20)player controlled, state stored in characters.data ( CMSG_SET_FACTION_INACTIVE )
RIVAL64 (0x40)flag for the two competing outland factions
This is also present in vmangos for Vanilla, unsure if it's used.

Used in:

Client Version 3

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/faction/cmsg_set_faction_atwar.wowm:28.

flag FactionFlag : u8 {
    VISIBLE = 0x01;
    AT_WAR = 0x02;
    HIDDEN = 0x04;
    INVISIBLE_FORCED = 0x08;
    PEACE_FORCED = 0x10;
    INACTIVE = 0x20;
    RIVAL = 0x40;
    SPECIAL = 0x80;
}

Type

The basic type is u8, a 1 byte (8 bit) integer.

Enumerators

EnumeratorValueComment
VISIBLE1 (0x01)makes visible in client (set or can be set at interaction with target of this faction)
AT_WAR2 (0x02)enable AtWar-button in client. player controlled (except opposition team always war state), Flag only set on initial creation
HIDDEN4 (0x04)hidden faction from reputation pane in client (player can gain reputation, but this update not sent to client)
INVISIBLE_FORCED8 (0x08)always overwrite FACTION_FLAG_VISIBLE and hide faction in rep.list, used for hide opposite team factions
PEACE_FORCED16 (0x10)always overwrite FACTION_FLAG_AT_WAR, used for prevent war with own team factions
INACTIVE32 (0x20)player controlled, state stored in characters.data ( CMSG_SET_FACTION_INACTIVE )
RIVAL64 (0x40)flag for the two competing outland factions
This is also present in vmangos for Vanilla, unsure if it's used.
SPECIAL128 (0x80)horde and alliance home cities and their northrend allies have this flag

Used in: