Permalink
Browse files

Added InGame Store basic Informations in OpCodes

  • Loading branch information...
Shoxxo
Shoxxo committed Oct 27, 2017
1 parent 320758c commit 4c7b3a54bd1ff28279ff2ae357d3e8141a066ba5
Showing with 32 additions and 0 deletions.
  1. +16 −0 src/server/game/Server/Protocol/Opcodes.cpp
  2. +16 −0 src/server/game/Server/Protocol/Opcodes.h
@@ -236,6 +236,15 @@ void OpcodeTable::InitializeClientTable()
DEFINE_OPCODE_HANDLER(CMSG_INSPECT, 0x1259, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleInspectOpcode ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_INSPECT_HONOR_STATS, 0x0882, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleInspectHonorStatsOpcode ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_GET_ITEM_PURCHASE_DATA, 0x1258, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleItemRefundInfoRequest ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_LE_STORE_ERROR_PURCHASE_DENIED, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_LE_STORE_ERROR_PARENTAL_CONTROLS_NO_PURCHASE, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_LE_STORE_ERROR_ALREADY_OWNED, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_LE_STORE_ERROR_OTHER, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_LE_STORE_ERROR_INSUFFICIENT_BALANCE, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_LE_STORE_ERROR_BATTLEPAY_DISABLED, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_LE_STORE_ERROR_WRONG_CURRENCY, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_LE_STORE_ERROR_PAYMENT_FAILED, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_LE_STORE_ERROR_INVALID_PAYMENT_METHOD, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414

This comment has been minimized.

Show comment
Hide comment
@Rawaho

Rawaho Oct 27, 2017

Member

These aren't opcodes, they are enum values that can be used with packets such as SMSG_BATTLE_PAY_ACK_FAILED

@Rawaho

Rawaho Oct 27, 2017

Member

These aren't opcodes, they are enum values that can be used with packets such as SMSG_BATTLE_PAY_ACK_FAILED

This comment has been minimized.

Show comment
Hide comment
@AriDEV

AriDEV Dec 16, 2017

Member

this stuff arent opcodes but error results send inside of opcodes this stuff should be added as an enum in shared defines if you really want to add it.

@AriDEV

AriDEV Dec 16, 2017

Member

this stuff arent opcodes but error results send inside of opcodes this stuff should be added as an enum in shared defines if you really want to add it.

DEFINE_OPCODE_HANDLER(CMSG_LEARN_TALENT, 0x02A7, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleLearnTalentOpcode ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_LEAVE_CHANNEL, 0x042A, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleLeaveChannel ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_LFG_GET_STATUS, 0x0000, STATUS_LOGGEDIN, PROCESS_THREADSAFE, &WorldSession::HandleLfgGetStatus );
@@ -376,6 +385,13 @@ void OpcodeTable::InitializeClientTable()
DEFINE_OPCODE_HANDLER(CMSG_SPIRIT_HEALER_ACTIVATE, 0x0340, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleSpiritHealerActivateOpcode ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_SPLIT_ITEM, 0x02EC, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleSplitItemOpcode ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_STAND_STATE_CHANGE, 0x03E6, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleStandStateChangeOpcode ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_STORE_ORDER_INITIATION_FAILED, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_STORE_PURCHASE_ERROR, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_STORE_PURCHASE_LIST_UPDATED, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_STORE_PRODUCT_DELIVERED, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_STORE_STATUS_CHANGED, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_STORE_CONFIRM_PURCHASE, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_STORE_PRODUCTS_UPDATED, 0x0000, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::Handle_NULL ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_SUBMIT_BUG, 0x0861, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::HandleSubmitBugOpcode ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_SUGGESTION_SUBMIT, 0x0A12, STATUS_LOGGEDIN, PROCESS_INPLACE, &WorldSession::HandleSubmitSuggestOpcode ); // 5.4.8 18414
DEFINE_OPCODE_HANDLER(CMSG_SUMMON_RESPONSE, 0x0A33, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleSummonResponseOpcode ); // 5.4.8 18414
@@ -315,6 +315,15 @@ enum Opcodes
CMSG_ITEM_TEXT_QUERY,
CMSG_CHAT_JOIN_CHANNEL,
CMSG_KEEP_ALIVE,
CMSG_LE_STORE_ERROR_PURCHASE_DENIED,
CMSG_LE_STORE_ERROR_PARENTAL_CONTROLS_NO_PURCHASE,
CMSG_LE_STORE_ERROR_ALREADY_OWNED,
CMSG_LE_STORE_ERROR_OTHER,
CMSG_LE_STORE_ERROR_INSUFFICIENT_BALANCE,
CMSG_LE_STORE_ERROR_BATTLEPAY_DISABLED,
CMSG_LE_STORE_ERROR_WRONG_CURRENCY,
CMSG_LE_STORE_ERROR_PAYMENT_FAILED,
CMSG_LE_STORE_ERROR_INVALID_PAYMENT_METHOD,
CMSG_LEARN_PREVIEW_TALENTS,
CMSG_LEARN_PREVIEW_TALENTS_PET,
CMSG_LEARN_TALENT,
@@ -578,6 +587,13 @@ enum Opcodes
CMSG_START_QUEST,
CMSG_STOP_DANCE,
CMSG_STORE_LOOT_IN_SLOT,
CMSG_STORE_ORDER_INITIATION_FAILED,
CMSG_STORE_PURCHASE_ERROR,
CMSG_STORE_PURCHASE_LIST_UPDATED,
CMSG_STORE_PRODUCT_DELIVERED,
CMSG_STORE_STATUS_CHANGED,
CMSG_STORE_CONFIRM_PURCHASE,
CMSG_STORE_PRODUCTS_UPDATED,
CMSG_SUBMIT_BUG,
CMSG_SUBMIT_COMPLAIN,
CMSG_SUGGESTION_SUBMIT,

4 comments on commit 4c7b3a5

@73CHFR34K

This comment has been minimized.

Show comment
Hide comment
@73CHFR34K

73CHFR34K Oct 27, 2017

Ok. But i name it like opcodes:)

73CHFR34K replied Oct 27, 2017

Ok. But i name it like opcodes:)

@SkyFire

This comment has been minimized.

Show comment
Hide comment
@SkyFire

SkyFire Oct 28, 2017

Member

Some of your code style settings are not correct. Use 4 spaces instead of tabs.

Member

SkyFire replied Oct 28, 2017

Some of your code style settings are not correct. Use 4 spaces instead of tabs.

@akrom23

This comment has been minimized.

Show comment
Hide comment
@akrom23

akrom23 Oct 29, 2017

But they are not opcodes, gosh...

akrom23 replied Oct 29, 2017

But they are not opcodes, gosh...

@Bootz

This comment has been minimized.

Show comment
Hide comment
@Bootz

Bootz Dec 28, 2017

Contributor

1343972609760

Contributor

Bootz replied Dec 28, 2017

1343972609760

Please sign in to comment.