50 msg.readInt16(
"char points"),
53 unsigned int val =
msg.readUInt8(
"str");
58 msg.readUInt8(
"str cost"));
62 msg.readUInt8(
"str cost");
65 val =
msg.readUInt8(
"agi");
70 msg.readUInt8(
"agi cost"));
74 msg.readUInt8(
"agi cost");
77 val =
msg.readUInt8(
"vit");
82 msg.readUInt8(
"vit cost"));
86 msg.readUInt8(
"vit cost");
89 val =
msg.readUInt8(
"int");
94 msg.readUInt8(
"int cost"));
98 msg.readUInt8(
"int cost");
101 val =
msg.readUInt8(
"dex");
106 msg.readUInt8(
"dex cost"));
110 msg.readUInt8(
"dex cost");
113 val =
msg.readUInt8(
"luk");
118 msg.readUInt8(
"luk cost"));
122 msg.readUInt8(
"luk cost");
126 msg.readInt16(
"atk"),
129 msg.readInt16(
"atk+"),
133 val =
msg.readInt16(
"matk");
136 val =
msg.readInt16(
"matk+");
142 msg.readInt16(
"def"),
145 msg.readInt16(
"def+"),
149 msg.readInt16(
"mdef"),
152 msg.readInt16(
"mdef+"),
156 msg.readInt16(
"hit"),
160 msg.readInt16(
"flee"),
163 msg.readInt16(
"flee+"),
167 msg.readInt16(
"crit"),
171 msg.readInt16(
"manner"),
173 msg.readInt16(
"unused?");
174 BLOCK_END(
"PlayerRecv::processPlayerStatUpdate5")
189 msg.readInt32(
"tick");
190 msg.readCoordinatePair(srcX, srcY, dstX, dstY,
"move path");
191 msg.readUInt8(
"unused");
194 BLOCK_END(
"PlayerRecv::processWalkResponse")
203 const int count = (
msg.readInt16(
"len") - 4) / 31;
204 STD_VECTOR<OnlinePlayer*> arr;
210 BLOCK_END(
"PlayerRecv::processOnlineList")
214 for (
int f = 0; f < count; f ++)
216 const BeingId beingId =
msg.readBeingId(
"account id");
217 const std::string name =
msg.readString(24,
"name");
218 const unsigned char level =
msg.readUInt8(
"level");
219 const unsigned char group =
msg.readUInt8(
"group");
225 CAST_U8(255), level, gender, 0, group));
232 BLOCK_END(
"PlayerRecv::processOnlineList")
ActorManager * actorManager
void updateNameId(const std::string &name, const BeingId beingId)
static GenderT intToGender(const uint8_t sex) A_CONST
bool getBoolValue(const std::string &key) const
void setRealPos(const int x, const int y)
void setPointsNeeded(const AttributesT id, const int needed)
void loadList(const std::vector< OnlinePlayer * > &list)
LocalPlayer * localPlayer
bool msg(InputEvent &event)
void setStatMod(const AttributesT id, const int value, const Notify notify)
void setAttribute(const AttributesT id, const int64_t value, const Notify notify)
void setStatBase(const AttributesT id, const int value, const Notify notify)
void processOnlineList(Net::MessageIn &msg)
void processPlayerStatUpdate5(Net::MessageIn &msg)
void processWalkResponse(Net::MessageIn &msg)
#define BLOCK_START(name)
StatusWindow * statusWindow
unsigned int tmwServerVersion
WhoIsOnline * whoIsOnline