mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 17:26:30 +00:00
Pass 3 - start to update trader functionality - WIP
This commit is contained in:
@@ -3554,12 +3554,12 @@ struct WhoAllPlayerPart4 {
|
||||
};
|
||||
|
||||
struct TraderItemSerial_Struct {
|
||||
char serial_number[16];
|
||||
uint8 unknown_018[2];
|
||||
char serial_number[17];
|
||||
uint8 unknown_018;
|
||||
|
||||
void operator=(uint32 a) {
|
||||
auto _tmp = fmt::format("{:016}", a);
|
||||
strn0cpy(this->serial_number, _tmp.c_str(), sizeof(this->serial_number));
|
||||
void operator=(const char* a) {
|
||||
//auto _tmp = fmt::format("{:016}", a);
|
||||
strn0cpy(this->serial_number, a, sizeof(this->serial_number));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user