package player

// Character flag constants
const (
	CF_COMBAT_EXPERIENCE_ENABLED           = 0
	CF_ENABLE_CHANGE_LASTNAME              = 1
	CF_FOOD_AUTO_CONSUME                   = 2
	CF_DRINK_AUTO_CONSUME                  = 3
	CF_AUTO_ATTACK                         = 4
	CF_RANGED_AUTO_ATTACK                  = 5
	CF_QUEST_EXPERIENCE_ENABLED            = 6
	CF_CHASE_CAMERA_MAYBE                  = 7
	CF_100                                 = 8
	CF_200                                 = 9
	CF_IS_SITTING                          = 10 // Can't cast or attack
	CF_800                                 = 11
	CF_ANONYMOUS                           = 12
	CF_ROLEPLAYING                         = 13
	CF_AFK                                 = 14
	CF_LFG                                 = 15
	CF_LFW                                 = 16
	CF_HIDE_HOOD                           = 17
	CF_HIDE_HELM                           = 18
	CF_SHOW_ILLUSION                       = 19
	CF_ALLOW_DUEL_INVITES                  = 20
	CF_ALLOW_TRADE_INVITES                 = 21
	CF_ALLOW_GROUP_INVITES                 = 22
	CF_ALLOW_RAID_INVITES                  = 23
	CF_ALLOW_GUILD_INVITES                 = 24
	CF_2000000                             = 25
	CF_4000000                             = 26
	CF_DEFENSE_SKILLS_AT_MAX_QUESTIONABLE  = 27
	CF_SHOW_GUILD_HERALDRY                 = 28
	CF_SHOW_CLOAK                          = 29
	CF_IN_PVP                              = 30
	CF_IS_HATED                            = 31
	CF2_1                                  = 32
	CF2_2                                  = 33
	CF2_4                                  = 34
	CF2_ALLOW_LON_INVITES                  = 35
	CF2_SHOW_RANGED                        = 36
	CF2_ALLOW_VOICE_INVITES                = 37
	CF2_CHARACTER_BONUS_EXPERIENCE_ENABLED = 38
	CF2_80                                 = 39
	CF2_100                                = 40 // Hide achievements
	CF2_200                                = 41
	CF2_400                                = 42
	CF2_800                                = 43 // Enable facebook updates
	CF2_1000                               = 44 // Enable twitter updates
	CF2_2000                               = 45 // Enable eq2 player updates
	CF2_4000                               = 46 // EQ2 players, link to alt chars
	CF2_8000                               = 47
	CF2_10000                              = 48
	CF2_20000                              = 49
	CF2_40000                              = 50
	CF2_80000                              = 51
	CF2_100000                             = 52
	CF2_200000                             = 53
	CF2_400000                             = 54
	CF2_800000                             = 55
	CF2_1000000                            = 56
	CF2_2000000                            = 57
	CF2_4000000                            = 58
	CF2_8000000                            = 59
	CF2_10000000                           = 60
	CF2_20000000                           = 61
	CF2_40000000                           = 62
	CF2_80000000                           = 63
	CF_MAXIMUM_FLAG                        = 63
	CF_HIDE_STATUS                         = 49 // For testing only
	CF_GM_HIDDEN                           = 50 // For testing only
)

// Update activity constants
const (
	UPDATE_ACTIVITY_FALLING        = 0
	UPDATE_ACTIVITY_RUNNING        = 128
	UPDATE_ACTIVITY_RIDING_BOAT    = 256
	UPDATE_ACTIVITY_JUMPING        = 1024
	UPDATE_ACTIVITY_IN_WATER_ABOVE = 6144
	UPDATE_ACTIVITY_IN_WATER_BELOW = 6272
	UPDATE_ACTIVITY_SITTING        = 6336
	UPDATE_ACTIVITY_DROWNING       = 14464
	UPDATE_ACTIVITY_DROWNING2      = 14336

	// Age of Malice (AOM) variants
	UPDATE_ACTIVITY_FALLING_AOM          = 16384
	UPDATE_ACTIVITY_RIDING_BOAT_AOM      = 256
	UPDATE_ACTIVITY_RUNNING_AOM          = 16512
	UPDATE_ACTIVITY_JUMPING_AOM          = 17408
	UPDATE_ACTIVITY_MOVE_WATER_BELOW_AOM = 22528
	UPDATE_ACTIVITY_MOVE_WATER_ABOVE_AOM = 22656
	UPDATE_ACTIVITY_SITTING_AOM          = 22720
	UPDATE_ACTIVITY_DROWNING_AOM         = 30720
	UPDATE_ACTIVITY_DROWNING2_AOM        = 30848
)

// Effect slot constants
const (
	NUM_MAINTAINED_EFFECTS = 30
	NUM_SPELL_EFFECTS      = 45
)

// Character history type constants
const (
	HISTORY_TYPE_NONE      = 0
	HISTORY_TYPE_DEATH     = 1
	HISTORY_TYPE_DISCOVERY = 2
	HISTORY_TYPE_XP        = 3
)

// Character history subtype constants
const (
	HISTORY_SUBTYPE_NONE       = 0
	HISTORY_SUBTYPE_ADVENTURE  = 1
	HISTORY_SUBTYPE_TRADESKILL = 2
	HISTORY_SUBTYPE_QUEST      = 3
	HISTORY_SUBTYPE_AA         = 4
	HISTORY_SUBTYPE_ITEM       = 5
	HISTORY_SUBTYPE_LOCATION   = 6
)

// Spell status constants
const (
	SPELL_STATUS_QUEUE = 4
	SPELL_STATUS_LOCK  = 66
)

// Quickbar type constants
const (
	QUICKBAR_NORMAL   = 1
	QUICKBAR_INV_SLOT = 2
	QUICKBAR_MACRO    = 3
	QUICKBAR_TEXT_CMD = 4
	QUICKBAR_ITEM     = 6
)

// Combat state constants
const (
	EXP_DISABLED_STATE = 0
	EXP_ENABLED_STATE  = 1
	MELEE_COMBAT_STATE = 16
	RANGE_COMBAT_STATE = 32
)

// GM tag filter types
const (
	GMFILTERTYPE_NONE        = 0
	GMFILTERTYPE_FACTION     = 1
	GMFILTERTYPE_SPAWNGROUP  = 2
	GMFILTERTYPE_RACE        = 3
	GMFILTERTYPE_GROUNDSPAWN = 4
)

// Delete book type flags
const (
	DELETE_TRADESKILLS = 1
	DELETE_SPELLS      = 2
	DELETE_COMBAT_ART  = 4
	DELETE_ABILITY     = 8
	DELETE_NOT_SHOWN   = 16
)

// Add item type constants
const (
	AddItemTypeNOT_SET                = 0
	AddItemTypeQUEST                  = 1
	AddItemTypeBUY_FROM_MERCHANT      = 2
	AddItemTypeLOOT                   = 3
	AddItemTypeTRADE                  = 4
	AddItemTypeMAIL                   = 5
	AddItemTypeHOUSE                  = 6
	AddItemTypeCRAFT                  = 7
	AddItemTypeCOLLECTION_REWARD      = 8
	AddItemTypeTRADESKILL_ACHIEVEMENT = 9
)
