rename 6xB8 command on BB
This commit is contained in:
@@ -5221,9 +5221,9 @@ struct G_BuyShopItem_BB_6xB7 {
|
|||||||
// This command behaves exactly the same as 6xB4. This alias exists only in
|
// This command behaves exactly the same as 6xB4. This alias exists only in
|
||||||
// Episode 3 Trial Edition; it was removed in the final release.
|
// Episode 3 Trial Edition; it was removed in the final release.
|
||||||
|
|
||||||
// 6xB8: BB accept tekker result (handled by the server)
|
// 6xB8: BB identify item request (via tekker) (handled by the server)
|
||||||
|
|
||||||
struct G_AcceptItemIdentification_BB_6xB8 {
|
struct G_IdentifyItemRequest_6xB8 {
|
||||||
G_UnusedHeader header;
|
G_UnusedHeader header;
|
||||||
le_uint32_t item_id;
|
le_uint32_t item_id;
|
||||||
} __packed__;
|
} __packed__;
|
||||||
|
|||||||
@@ -1636,7 +1636,7 @@ static void on_identify_item_bb(shared_ptr<ServerState>,
|
|||||||
shared_ptr<Lobby> l, shared_ptr<Client> c, uint8_t command, uint8_t flag,
|
shared_ptr<Lobby> l, shared_ptr<Client> c, uint8_t command, uint8_t flag,
|
||||||
const void* data, size_t size) {
|
const void* data, size_t size) {
|
||||||
if (l->version == GameVersion::BB) {
|
if (l->version == GameVersion::BB) {
|
||||||
const auto& cmd = check_size_t<G_AcceptItemIdentification_BB_6xB8>(data, size);
|
const auto& cmd = check_size_t<G_IdentifyItemRequest_6xB8>(data, size);
|
||||||
if (!l->is_game()) {
|
if (!l->is_game()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user