public void Write(ByteArray by) { by.WriteLong(char_idx); by.WriteLong(account_index); by.WriteUShort(spid); by.WriteString(char_name); by.WriteByte(char_type); by.WriteUShort(ws_id); by.WriteUShort(ss_id); by.WriteUShort(fs_id); by.WriteInt(pos_x); by.WriteInt(pos_y); by.WriteUInt(scene_type_idx); by.WriteLong(scene_obj_idx); by.WriteUInt(flags); by.WriteUInt(model_idx); by.WriteByte(job); by.WriteUShort(level); by.WriteUInt(exp); by.WriteUInt(energy); by.WriteUInt(gold); by.WriteUInt(coin); by.WriteUInt(hp); by.WriteUInt(hp_max); by.WriteUInt(hurt); by.WriteUInt(range); by.WriteUInt(run_speed); by.WriteUInt(vip_grade); by.WriteUInt(vip_flags); by.WriteLong(time_last_login); by.WriteLong(time_last_logout); }
public void Write(ByteArray by) { by.WriteLong(char_idx); by.WriteUShort(spid); by.WriteString(char_name); by.WriteByte(char_type); by.WriteUShort(ws_id); by.WriteUInt(flags); by.WriteUInt(model_idx); by.WriteByte(job); by.WriteUShort(level); by.WriteUInt(exp); by.WriteUInt(gold); by.WriteUInt(coin); by.WriteUInt(vip_grade); }
public void Write(ByteArray by) { by.WriteLong(char_idx); by.WriteString(char_name); by.WriteByte(char_type); by.WriteUShort(level); }
public void Write(ByteArray by) { by.WriteLong(event_idx); by.WriteLong(target_char_idx); by.WriteLong(source_char_idx); by.WriteByte((byte)event_type); bin_content.event_type = event_type; bin_content.Write(by); }
public void Write(ByteArray by) { int start_pos = by.Tail; by.WriteLong(char_idx); by.WriteUShort(spid); by.WriteString(char_name); by.WriteByte(char_type); by.WriteUShort(ws_id); by.WriteByte((byte)flags); by.WriteUInt(model_idx); by.WriteByte(job); by.WriteUShort(level); by.WriteUInt(exp); by.WriteUInt(gold); by.WriteUInt(coin); by.WriteUInt(vip_grade); by.WriteEmpty(200 - (by.Tail - start_pos)); }
public void Write(ByteArray by) { by.WriteByte((byte)type); switch (type) { case eRelationAddType.Idx: by.WriteLong(char_idx); break; case eRelationAddType.Name: by.WriteString(char_name); break; } }
public void Write(ByteArray by) { by.WriteLong(char_idx); by.WriteString(char_name); by.WriteByte(char_type); by.WriteUShort(spid); by.WriteUShort(ws_id); by.WriteUShort(ss_id); by.WriteUShort(fs_id); }
public void Write(ByteArray by) { by.WriteLong(mail_idx); by.WriteByte((byte)mail_type); by.WriteLong(sender_idx); by.WriteString(sender_name); by.WriteLong(send_time); by.WriteInt(expire_time); by.WriteUInt(flags); by.WriteString(subject); }
public void Write(ByteArray by) { by.WriteLong(char_idx); by.WriteString(char_name); by.WriteByte(char_type); by.WriteUInt(flags); by.WriteUInt(model_idx); by.WriteByte(job); by.WriteUShort(level); by.WriteUInt(exp); by.WriteUInt(energy); by.WriteUInt(gold); by.WriteUInt(coin); by.WriteUInt(hp); by.WriteUInt(hp_max); by.WriteUInt(hurt); by.WriteUInt(range); by.WriteUInt(run_speed); by.WriteUInt(vip_grade); by.WriteUInt(vip_flags); }
public void Write(ByteArray by) { by.WriteByte((byte)type); if (type == eIdxNameType.CHARID) { by.WriteLong(char_idx); } else { by.WriteString(char_name); } }
public void Write(ByteArray by) { by.WriteByte((byte)content_type); switch (content_type) { case eMailContentType.NORMAL: bin_normal_content.Write(by); break; case eMailContentType.NOTICE: bin_notice_content.Write(by); break; case eMailContentType.SEND_ITEMS: bin_item_content.Write(by); break; case eMailContentType.MOD: bin_mod_content.Write(by); break; } }
public void Write(ByteArray by) { by.WriteLong(mail_idx); by.WriteByte((byte)mail_type); by.WriteUShort(spid); by.WriteLong(receiver_idx); by.WriteLong(sender_idx); by.WriteString(sender_name); by.WriteLong(send_time); by.WriteInt(expire_time); by.WriteInt(delivery_time); by.WriteUInt(flags); by.WriteString(subject); bin_mail_content.Write(by); }
public void Write(ByteArray by) { by.WriteByte((byte)notice_type); switch (notice_type) { case eMailNoticeType.GuildAppSucc: notice_guide_app_success.Write(by); break; case eMailNoticeType.GuildAppFail: notice_guide_app_fail.Write(by); break; case eMailNoticeType.GuildDismiss: notice_guide_dismiss.Write(by); break; case eMailNoticeType.GuildOut: notice_guide_out.Write(by); break; case eMailNoticeType.GuildExit: notice_guide_exit.Write(by); break; default: break; } }
public void Write(ByteArray by) { by.WriteString(name); by.WriteByte(type); }
public void Write(ByteArray by) { by.WriteByte((byte)flag); by.WriteByte((byte)cmd); }
public void Write(ByteArray by) { by.WriteByte((byte)type); by.WriteUInt(obj_type); by.WriteLong(obj_value); }
public void Write(ByteArray by) { by.WriteString(char_name); by.WriteString(message); by.WriteByte((byte)flag); }