public void Read(ByteArray by) { char_idx = by.ReadLong(); account_index = by.ReadLong(); spid = by.ReadUShort(); char_name = by.ReadString(); char_type = by.ReadByte(); ws_id = by.ReadUShort(); ss_id = by.ReadUShort(); fs_id = by.ReadUShort(); pos_x = by.ReadInt(); pos_y = by.ReadInt(); scene_type_idx = by.ReadUInt(); scene_obj_idx = by.ReadLong(); flags = by.ReadUInt(); model_idx = by.ReadUInt(); job = by.ReadByte(); level = by.ReadUShort(); exp = by.ReadUInt(); energy = by.ReadUInt(); gold = by.ReadUInt(); coin = by.ReadUInt(); hp = by.ReadUInt(); hp_max = by.ReadUInt(); hurt = by.ReadUInt(); range = by.ReadUInt(); run_speed = by.ReadUInt(); vip_grade = by.ReadUInt(); vip_flags = by.ReadUInt(); time_last_login = by.ReadLong(); time_last_logout = by.ReadLong(); }
public void Read(ByteArray by) { mail_idx = by.ReadLong(); mail_type = (eMailType)by.ReadByte(); spid = by.ReadUShort(); receiver_idx = by.ReadLong(); sender_idx = by.ReadLong(); sender_name = by.ReadString(); send_time = by.ReadLong(); expire_time = by.ReadInt(); delivery_time = by.ReadInt(); flags = by.ReadUInt(); subject = by.ReadString(); bin_mail_content.Read(by); }
public void Read(ByteArray by) { mail_idx = by.ReadLong(); mail_type = (eMailType)by.ReadByte(); sender_idx = by.ReadLong(); sender_name = by.ReadString(); send_time = by.ReadLong(); expire_time = by.ReadInt(); flags = by.ReadUInt(); subject = by.ReadString(); }
public uint vip_flags; // vip flags public void Read(ByteArray by) { char_name = by.ReadString(); char_type = by.ReadByte(); pos_x = by.ReadInt(); pos_y = by.ReadInt(); flags = by.ReadUInt(); model_idx = by.ReadUInt(); job = by.ReadByte(); level = by.ReadUShort(); exp = by.ReadUInt(); energy = by.ReadUInt(); gold = by.ReadUInt(); coin = by.ReadUInt(); hp = by.ReadUInt(); hp_max = by.ReadUInt(); hurt = by.ReadUInt(); range = by.ReadUInt(); run_speed = by.ReadUInt(); vip_grade = by.ReadUInt(); vip_flags = by.ReadUInt(); }
public void Read(ByteArray by) { x = by.ReadInt(); y = by.ReadInt(); }