using Dalamud.Game.Text;

namespace HellionChat.Code;

[Flags]
public enum ChatSource : ushort
{
    None = 0,

    // The player controlled by this client
    LocalPlayer = 1 << XivChatRelationKind.LocalPlayer,

    // Member of the local party
    PartyMember = 1 << XivChatRelationKind.PartyMember,

    // Member of the alliance
    AllianceMember = 1 << XivChatRelationKind.AllianceMember,

    // Other player
    OtherPlayer = 1 << XivChatRelationKind.OtherPlayer,

    // Enemy in combat
    EngagedEnemy = 1 << XivChatRelationKind.EngagedEnemy,

    // Enemy out of combat
    UnengagedEnemy = 1 << XivChatRelationKind.UnengagedEnemy,

    // Friendly NPC
    FriendlyNpc = 1 << XivChatRelationKind.FriendlyNpc,

    // Own pet or companion
    PetOrCompanion = 1 << XivChatRelationKind.PetOrCompanion,

    // Pet or companion of party members
    PetOrCompanionParty = 1 << XivChatRelationKind.PetOrCompanionParty,

    // Pet or companion of alliance members
    PetOrCompanionAlliance = 1 << XivChatRelationKind.PetOrCompanionAlliance,

    // Pet or companion of other players
    PetOrCompanionOther = 1 << XivChatRelationKind.PetOrCompanionOther,
}
