From 5a7d5a47724809a97b493a747927f04534f57499 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sun, 14 Oct 2018 22:03:42 +0800 Subject: land.h: struct for each land --- csrc/land.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 csrc/land.h diff --git a/csrc/land.h b/csrc/land.h new file mode 100644 index 0000000..ce59491 --- /dev/null +++ b/csrc/land.h @@ -0,0 +1,23 @@ +struct housing_land +{ + char name[]; // 0x04 + uint8_t price_status; // 0x17 + uint8_t type; // 0x18: chained store or house + uint8_t owner; // 0x19 + uint8_t level; // 0x1a + uint16_t land_price; // 0x1c + uint16_t house_price; // 0x1e + uint32_t _; // 0x30 +}; /* size is 0x34=52 */ + +struct business_land +{ + char name[]; // 0x04 + uint8_t type; // 0x18 + uint8_t owner; // 0x19 + uint8_t level; // 0x1a + uint8_t price_status; // 0x1c + uint16_t land_price; // 0x22 + uint16_t house_price; // 0x24 + uint32_t _; // 0x34 +}; /* size is 0x38=56 */ -- cgit v1.2.3