diff --git a/GameObject/GetGoState.html b/GameObject/GetGoState.html index 75d7018d..93830f7b 100644 --- a/GameObject/GetGoState.html +++ b/GameObject/GetGoState.html @@ -89,14 +89,34 @@
Returns the state of a GameObject Below are client side [GOState]s off of 3.3.5a
-
-enum GOState
-{
- GO_STATE_ACTIVE = 0, // show in world as used and not reset (closed door open)
- GO_STATE_READY = 1, // show in world as ready (closed door close)
- GO_STATE_ACTIVE_ALTERNATIVE = 2 // show in world as used in alt way and not reset (closed door open by cannon fire)
-};
-
+ | GOState | +ID | +Comment | +
|---|---|---|
| GO_STATE_ACTIVE | +0 | +show in world as used and not reset (closed door open) | +
| GO_STATE_READY | +1 | +show in world as ready (closed door close) | +
| GO_STATE_ACTIVE_ALTERNATIVE | +2 | +show in world as used in alt way and not reset (closed door open by cannon fire) | +
Returns the [LootState] of a GameObject Below are [LootState]s off of 3.3.5a
-
-enum LootState
-{
- GO_NOT_READY = 0,
- GO_READY, // can be ready but despawned, and then not possible activate until spawn
- GO_ACTIVATED,
- GO_JUST_DEACTIVATED
-};
-
+ | LootState | +ID | +Comment | +
|---|---|---|
| GO_NOT_READY | +0 | ++ |
| GO_READY | +1 | +can be ready but despawned, and then not possible activate until spawn | +
| GO_ACTIVATED | +2 | ++ |
| GO_JUST_DEACTIVATED | +3 | ++ |
Sets the state of a GameObject
-
-enum GOState
-{
- GO_STATE_ACTIVE = 0, // show in world as used and not reset (closed door open)
- GO_STATE_READY = 1, // show in world as ready (closed door close)
- GO_STATE_ACTIVE_ALTERNATIVE = 2 // show in world as used in alt way and not reset (closed door open by cannon fire)
-};
-
+ | GOState | +ID | +Comment | +
|---|---|---|
| GO_STATE_ACTIVE | +0 | +show in world as used and not reset (closed door open) | +
| GO_STATE_READY | +1 | +show in world as ready (closed door close) | +
| GO_STATE_ACTIVE_ALTERNATIVE | +2 | +show in world as used in alt way and not reset (closed door open by cannon fire) | +
Sets the [LootState] of a GameObject Below are [LootState]s off of 3.3.5a
-
-enum LootState
-{
- GO_NOT_READY = 0,
- GO_READY, // can be ready but despawned, and then not possible activate until spawn
- GO_ACTIVATED,
- GO_JUST_DEACTIVATED
-};
-
+ | LootState | +ID | +Comment | +
|---|---|---|
| GO_NOT_READY | +0 | ++ |
| GO_READY | +1 | +can be ready but despawned, and then not possible activate until spawn | +
| GO_ACTIVATED | +2 | ++ |
| GO_JUST_DEACTIVATED | +3 | ++ |
Returns the Group members' flags
-
-enum GroupMemberFlags
-{
- MEMBER_FLAG_ASSISTANT = 1,
- MEMBER_FLAG_MAINTANK = 2,
- MEMBER_FLAG_MAINASSIST = 4
-};
-
+ | GroupMemberFlags | +ID | +
|---|---|
| MEMBER_FLAG_ASSISTANT | +1 | +
| MEMBER_FLAG_MAINTANK | +2 | +
| MEMBER_FLAG_MAINASSIST | +4 | +
Removes a Player from this Group and returns 'true' if successful
In multistate, this method is only available in the WORLD state
-
-enum RemoveMethod
-{
- GROUP_REMOVEMETHOD_DEFAULT = 0,
- GROUP_REMOVEMETHOD_KICK = 1,
- GROUP_REMOVEMETHOD_LEAVE = 2,
- GROUP_REMOVEMETHOD_KICK_LFG = 3
-};
-
+ | RemoveMethod | +ID | +
|---|---|
| GROUP_REMOVEMETHOD_DEFAULT | +0 | +
| GROUP_REMOVEMETHOD_KICK | +1 | +
| GROUP_REMOVEMETHOD_LEAVE | +2 | +
| GROUP_REMOVEMETHOD_KICK_LFG | +3 | +
Sets or removes a flag for a Group member
In multistate, this method is only available in the WORLD state
-
-enum GroupMemberFlags
-{
- MEMBER_FLAG_ASSISTANT = 1,
- MEMBER_FLAG_MAINTANK = 2,
- MEMBER_FLAG_MAINASSIST = 4
-};
-
+ | GroupMemberFlags | +ID | +
|---|---|
| MEMBER_FLAG_ASSISTANT | +1 | +
| MEMBER_FLAG_MAINTANK | +2 | +
| MEMBER_FLAG_MAINASSIST | +4 | +
Returns the chat link of the Item
-
-enum LocaleConstant
-{
- LOCALE_enUS = 0,
- LOCALE_koKR = 1,
- LOCALE_frFR = 2,
- LOCALE_deDE = 3,
- LOCALE_zhCN = 4,
- LOCALE_zhTW = 5,
- LOCALE_esES = 6,
- LOCALE_esMX = 7,
- LOCALE_ruRU = 8
-};
-
+ | Locale | +ID | +
|---|---|
| LOCALE_enUS | +0 | +
| LOCALE_koKR | +1 | +
| LOCALE_frFR | +2 | +
| LOCALE_deDE | +3 | +
| LOCALE_zhCN | +4 | +
| LOCALE_zhTW | +5 | +
| LOCALE_esES | +6 | +
| LOCALE_esMX | +7 | +
| LOCALE_ruRU | +8 | +
Returns 'true' if the Quest has the specified flag, false otherwise. Below flags are based off of 3.3.5a. Subject to change.
-
-enum QuestFlags
-{
- // Flags used at server and sent to client
- QUEST_FLAGS_NONE = 0x0,
- QUEST_FLAGS_STAY_ALIVE = 0x1, // Not used currently
- QUEST_FLAGS_PARTY_ACCEPT = 0x2, // Not used currently. If player in party, all players that can accept this quest will receive confirmation box to accept quest CMSG_QUEST_CONFIRM_ACCEPT/SMSG_QUEST_CONFIRM_ACCEPT
- QUEST_FLAGS_EXPLORATION = 0x4, // Not used currently
- QUEST_FLAGS_SHARABLE = 0x8, // Can be shared: Player::CanShareQuest()
- QUEST_FLAGS_HAS_CONDITION = 0x10, // Not used currently
- QUEST_FLAGS_HIDE_REWARD_POI = 0x20, // Not used currently: Unsure of content
- QUEST_FLAGS_RAID = 0x40, // Not used currently
- QUEST_FLAGS_TBC = 0x80, // Not used currently: Available if TBC expansion enabled only
- QUEST_FLAGS_NO_MONEY_FROM_XP = 0x100, // Not used currently: Experience is not converted to gold at max level
- QUEST_FLAGS_HIDDEN_REWARDS = 0x200, // Items and money rewarded only sent in SMSG_QUESTGIVER_OFFER_REWARD (not in SMSG_QUESTGIVER_QUEST_DETAILS or in client quest log(SMSG_QUEST_QUERY_RESPONSE))
- QUEST_FLAGS_TRACKING = 0x400, // These quests are automatically rewarded on quest complete and they will never appear in quest log client side.
- QUEST_FLAGS_DEPRECATE_REPUTATION = 0x800, // Not used currently
- QUEST_FLAGS_DAILY = 0x1000, // Used to know quest is Daily one
- QUEST_FLAGS_FLAGS_PVP = 0x2000, // Having this quest in log forces PvP flag
- QUEST_FLAGS_UNAVAILABLE = 0x4000, // Used on quests that are not generically available
- QUEST_FLAGS_WEEKLY = 0x8000,
- QUEST_FLAGS_AUTOCOMPLETE = 0x10000, // auto complete
- QUEST_FLAGS_DISPLAY_ITEM_IN_TRACKER = 0x20000, // Displays usable item in quest tracker
- QUEST_FLAGS_OBJ_TEXT = 0x40000, // use Objective text as Complete text
- QUEST_FLAGS_AUTO_ACCEPT = 0x80000, // The client recognizes this flag as auto-accept. However, NONE of the current quests (3.3.5a) have this flag. Maybe blizz used to use it, or will use it in the future.
-
- // ... 4.x added flags up to 0x80000000 - all unknown for now
-};
-
+ | QuestFlags | +ID | +Comment | +
|---|---|---|
| QUEST_FLAGS_NONE | +0x0 | ++ |
| QUEST_FLAGS_STAY_ALIVE | +0x1 | +Not used currently | +
| QUEST_FLAGS_PARTY_ACCEPT | +0x2 | +Not used currently. If player in party, all players that can accept this quest will receive confirmation box to accept quest CMSG_QUEST_CONFIRM_ACCEPT/SMSG_QUEST_CONFIRM_ACCEPT | +
| QUEST_FLAGS_EXPLORATION | +0x4 | +Not used currently | +
| QUEST_FLAGS_SHARABLE | +0x8 | +Can be shared: Player::CanShareQuest() | +
| QUEST_FLAGS_HAS_CONDITION | +0x10 | +Not used currently | +
| QUEST_FLAGS_HIDE_REWARD_POI | +0x20 | +Not used currently: Unsure of content | +
| QUEST_FLAGS_RAID | +0x40 | +Not used currently | +
| QUEST_FLAGS_TBC | +0x80 | +Not used currently: Available if TBC expansion enabled only | +
| QUEST_FLAGS_NO_MONEY_FROM_XP | +0x100 | +Not used currently: Experience is not converted to gold at max level | +
| QUEST_FLAGS_HIDDEN_REWARDS | +0x200 | +Items and money rewarded only sent in SMSG_QUESTGIVER_OFFER_REWARD (not in SMSG_QUESTGIVER_QUEST_DETAILS or in client quest log(SMSG_QUEST_QUERY_RESPONSE)) | +
| QUEST_FLAGS_TRACKING | +0x400 | +These quests are automatically rewarded on quest complete and they will never appear in quest log client side. | +
| QUEST_FLAGS_DEPRECATE_REPUTATION | +0x800 | +Not used currently | +
| QUEST_FLAGS_DAILY | +0x1000 | +Used to know quest is Daily one | +
| QUEST_FLAGS_FLAGS_PVP | +0x2000 | +Having this quest in log forces PvP flag | +
| QUEST_FLAGS_UNAVAILABLE | +0x4000 | +Used on quests that are not generically available | +
| QUEST_FLAGS_WEEKLY | +0x8000 | ++ |
| QUEST_FLAGS_AUTOCOMPLETE | +0x10000 | +auto complete | +
| QUEST_FLAGS_DISPLAY_ITEM_IN_TRACKER | +0x20000 | +Displays usable item in quest tracker | +
| QUEST_FLAGS_OBJ_TEXT | +0x40000 | +use Objective text as Complete text | +
| QUEST_FLAGS_AUTO_ACCEPT | +0x80000 | +The client recognizes this flag as auto-accept. However, NONE of the current quests (3.3.5a) have this flag. Maybe blizz used to use it, or will use it in the future. | +