public override void fromBinary(byte[] binary) { reader = new st.net.NetBase.ByteReader(binary); uid = reader.Read_int(); name = reader.Read_str(); lev = reader.Read_int(); prof = reader.Read_int(); ushort lenmodel_clothes_id = reader.Read_ushort(); model_clothes_id = new List <int>(); for (int i_model_clothes_id = 0; i_model_clothes_id < lenmodel_clothes_id; i_model_clothes_id++) { int listData = reader.Read_int(); model_clothes_id.Add(listData); } wing_id = reader.Read_int(); wing_lev = reader.Read_int(); ushort lentarget_equip_list = reader.Read_ushort(); target_equip_list = new List <st.net.NetBase.item_des>(); for (int i_target_equip_list = 0; i_target_equip_list < lentarget_equip_list; i_target_equip_list++) { st.net.NetBase.item_des listData = new st.net.NetBase.item_des(); listData.fromBinary(reader); target_equip_list.Add(listData); } }
public override void fromBinary(byte[] binary) { reader = new st.net.NetBase.ByteReader(binary); type = reader.Read_uint(); send_uid = reader.Read_int(); name = reader.Read_str(); receive_name = reader.Read_str(); vip_lev = reader.Read_int(); prof = reader.Read_int(); content = reader.Read_str(); scene = reader.Read_int(); x = reader.Read_int(); y = reader.Read_int(); z = reader.Read_int(); sort = reader.Read_int(); time = reader.Read_int(); item_type = reader.Read_int(); ushort lenitem = reader.Read_ushort(); item = new List <st.net.NetBase.item_des>(); for (int i_item = 0; i_item < lenitem; i_item++) { st.net.NetBase.item_des listData = new st.net.NetBase.item_des(); listData.fromBinary(reader); item.Add(listData); } ushort lencontent_info = reader.Read_ushort(); content_info = new List <int>(); for (int i_content_info = 0; i_content_info < lencontent_info; i_content_info++) { int listData = reader.Read_int(); content_info.Add(listData); } }
public override void fromBinary(byte[] binary) { reader = new st.net.NetBase.ByteReader(binary); ushort lenitems = reader.Read_ushort(); items = new List <st.net.NetBase.item_des>(); for (int i_items = 0; i_items < lenitems; i_items++) { st.net.NetBase.item_des listData = new st.net.NetBase.item_des(); listData.fromBinary(reader); items.Add(listData); } }
public override void fromBinary(byte[] binary) { reader = new st.net.NetBase.ByteReader(binary); ushort lenguild_item = reader.Read_ushort(); guild_item = new List <st.net.NetBase.item_des>(); for (int i_guild_item = 0; i_guild_item < lenguild_item; i_guild_item++) { st.net.NetBase.item_des listData = new st.net.NetBase.item_des(); listData.fromBinary(reader); guild_item.Add(listData); } }
public override void fromBinary(byte[] binary) { reader = new st.net.NetBase.ByteReader(binary); uid = reader.Read_int(); name = reader.Read_str(); battle = reader.Read_int(); lev = reader.Read_int(); vip_lev = reader.Read_int(); prof = reader.Read_int(); guild_name = reader.Read_str(); slaughter = reader.Read_int(); ushort lentarget_property = reader.Read_ushort(); target_property = new List <st.net.NetBase.property>(); for (int i_target_property = 0; i_target_property < lentarget_property; i_target_property++) { st.net.NetBase.property listData = new st.net.NetBase.property(); listData.fromBinary(reader); target_property.Add(listData); } luck_num = reader.Read_int(); ushort lentarget_skill = reader.Read_ushort(); target_skill = new List <st.net.NetBase.normal_skill_list>(); for (int i_target_skill = 0; i_target_skill < lentarget_skill; i_target_skill++) { st.net.NetBase.normal_skill_list listData = new st.net.NetBase.normal_skill_list(); listData.fromBinary(reader); target_skill.Add(listData); } ushort lenmodel_clothes_id = reader.Read_ushort(); model_clothes_id = new List <int>(); for (int i_model_clothes_id = 0; i_model_clothes_id < lenmodel_clothes_id; i_model_clothes_id++) { int listData = reader.Read_int(); model_clothes_id.Add(listData); } wing_id = reader.Read_int(); wing_lev = reader.Read_int(); ushort lentarget_equip_list = reader.Read_ushort(); target_equip_list = new List <st.net.NetBase.item_des>(); for (int i_target_equip_list = 0; i_target_equip_list < lentarget_equip_list; i_target_equip_list++) { st.net.NetBase.item_des listData = new st.net.NetBase.item_des(); listData.fromBinary(reader); target_equip_list.Add(listData); } }
public override void fromBinary(byte[] binary) { reader = new st.net.NetBase.ByteReader(binary); pid = reader.Read_uint(); name = reader.Read_str(); guild_name = reader.Read_str(); prof = reader.Read_uint(); lev = reader.Read_uint(); title = reader.Read_uint(); ushort lenitem_list = reader.Read_ushort(); item_list = new List <st.net.NetBase.item_des>(); for (int i_item_list = 0; i_item_list < lenitem_list; i_item_list++) { st.net.NetBase.item_des listData = new st.net.NetBase.item_des(); listData.fromBinary(reader); item_list.Add(listData); } }
public override void fromBinary(byte[] binary) { reader = new st.net.NetBase.ByteReader(binary); ushort lenempty_bags = reader.Read_ushort(); empty_bags = new List <int>(); for (int i_empty_bags = 0; i_empty_bags < lenempty_bags; i_empty_bags++) { int listData = reader.Read_int(); empty_bags.Add(listData); } ushort lenitem_list = reader.Read_ushort(); item_list = new List <st.net.NetBase.item_des>(); for (int i_item_list = 0; i_item_list < lenitem_list; i_item_list++) { st.net.NetBase.item_des listData = new st.net.NetBase.item_des(); listData.fromBinary(reader); item_list.Add(listData); } }
public override void fromBinary(byte[] binary) { reader = new st.net.NetBase.ByteReader(binary); ushort lenemptys = reader.Read_ushort(); emptys = new List <int>(); for (int i_emptys = 0; i_emptys < lenemptys; i_emptys++) { int listData = reader.Read_int(); emptys.Add(listData); } ushort lenguld_items = reader.Read_ushort(); guld_items = new List <st.net.NetBase.item_des>(); for (int i_guld_items = 0; i_guld_items < lenguld_items; i_guld_items++) { st.net.NetBase.item_des listData = new st.net.NetBase.item_des(); listData.fromBinary(reader); guld_items.Add(listData); } }
public override void fromBinary(byte[] binary) { reader = new st.net.NetBase.ByteReader(binary); type = reader.Read_int(); ushort lennomal_list = reader.Read_ushort(); nomal_list = new List <st.net.NetBase.normal_info>(); for (int i_nomal_list = 0; i_nomal_list < lennomal_list; i_nomal_list++) { st.net.NetBase.normal_info listData = new st.net.NetBase.normal_info(); listData.fromBinary(reader); nomal_list.Add(listData); } ushort lenitem = reader.Read_ushort(); item = new List <st.net.NetBase.item_des>(); for (int i_item = 0; i_item < lenitem; i_item++) { st.net.NetBase.item_des listData = new st.net.NetBase.item_des(); listData.fromBinary(reader); item.Add(listData); } }