mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
Implement bazaar item identity and offline trading rework
This commit is contained in:
@@ -1099,6 +1099,7 @@ namespace PlayerEvent {
|
||||
int32 charges;
|
||||
uint64 total_cost;
|
||||
uint64 player_money_balance;
|
||||
bool offline_purchase;
|
||||
|
||||
// cereal
|
||||
template <class Archive>
|
||||
@@ -1154,7 +1155,8 @@ namespace PlayerEvent {
|
||||
CEREAL_NVP(quantity),
|
||||
CEREAL_NVP(charges),
|
||||
CEREAL_NVP(total_cost),
|
||||
CEREAL_NVP(player_money_balance)
|
||||
CEREAL_NVP(player_money_balance),
|
||||
CEREAL_NVP(offline_purchase)
|
||||
);
|
||||
}
|
||||
};
|
||||
@@ -1175,7 +1177,9 @@ namespace PlayerEvent {
|
||||
int32 charges;
|
||||
uint64 total_cost;
|
||||
uint64 player_money_balance;
|
||||
bool offline_purchase;
|
||||
|
||||
// cereal
|
||||
template <class Archive>
|
||||
void serialize(Archive& ar)
|
||||
{
|
||||
@@ -1229,7 +1233,8 @@ namespace PlayerEvent {
|
||||
CEREAL_NVP(quantity),
|
||||
CEREAL_NVP(charges),
|
||||
CEREAL_NVP(total_cost),
|
||||
CEREAL_NVP(player_money_balance)
|
||||
CEREAL_NVP(player_money_balance),
|
||||
CEREAL_NVP(offline_purchase)
|
||||
);
|
||||
}
|
||||
};
|
||||
@@ -1427,6 +1432,7 @@ namespace PlayerEvent {
|
||||
|
||||
struct ParcelRetrieve {
|
||||
uint32 item_id;
|
||||
std::string item_unique_id;
|
||||
uint32 augment_1_id;
|
||||
uint32 augment_2_id;
|
||||
uint32 augment_3_id;
|
||||
@@ -1472,6 +1478,7 @@ namespace PlayerEvent {
|
||||
{
|
||||
ar(
|
||||
CEREAL_NVP(item_id),
|
||||
CEREAL_NVP(item_unique_id),
|
||||
CEREAL_NVP(augment_1_id),
|
||||
CEREAL_NVP(augment_2_id),
|
||||
CEREAL_NVP(augment_3_id),
|
||||
@@ -1487,6 +1494,7 @@ namespace PlayerEvent {
|
||||
|
||||
struct ParcelSend {
|
||||
uint32 item_id;
|
||||
std::string item_unique_id;
|
||||
uint32 augment_1_id;
|
||||
uint32 augment_2_id;
|
||||
uint32 augment_3_id;
|
||||
@@ -1536,6 +1544,7 @@ namespace PlayerEvent {
|
||||
{
|
||||
ar(
|
||||
CEREAL_NVP(item_id),
|
||||
CEREAL_NVP(item_unique_id),
|
||||
CEREAL_NVP(augment_1_id),
|
||||
CEREAL_NVP(augment_2_id),
|
||||
CEREAL_NVP(augment_3_id),
|
||||
@@ -1554,6 +1563,7 @@ namespace PlayerEvent {
|
||||
struct ParcelDelete {
|
||||
uint32 char_id;
|
||||
uint32 item_id;
|
||||
std::string item_unique_id;
|
||||
uint32 augment_1_id;
|
||||
uint32 augment_2_id;
|
||||
uint32 augment_3_id;
|
||||
@@ -1602,6 +1612,7 @@ namespace PlayerEvent {
|
||||
{
|
||||
ar(
|
||||
CEREAL_NVP(item_id),
|
||||
CEREAL_NVP(item_unique_id),
|
||||
CEREAL_NVP(augment_1_id),
|
||||
CEREAL_NVP(augment_2_id),
|
||||
CEREAL_NVP(augment_3_id),
|
||||
|
||||
Reference in New Issue
Block a user