public void addToStreamEx(Bundle stream, D_SKILL_INFOS v) { stream.writeInt32(v.id); stream.writeUnicode(v.name); stream.writeString(v.skill_icon); stream.writeInt32(v.skill_damage_chushi); stream.writeInt32(v.skill_damage_growth); stream.writeInt32(v.skill_ad_chushi); stream.writeInt32(v.skill_ad_growth); stream.writeInt32(v.skill_ap_chushi); stream.writeInt32(v.skill_ap_growth); stream.writeInt32(v.skill_type); stream.writeInt32(v.skill_ongoing); stream.writeInt32(v.skill_sing_time); stream.writeInt32(v.skill_cutdown); stream.writeInt32(v.skill_cutdownif); stream.writeInt32(v.skill_cd); stream.writeInt32(v.attack_distance); stream.writeInt32(v.aoe_radius); }
public D_SKILL_INFOS createFromStreamEx(MemoryStream stream) { D_SKILL_INFOS datas = new D_SKILL_INFOS(); datas.id = stream.readInt32(); datas.name = stream.readUnicode(); datas.skill_icon = stream.readString(); datas.skill_damage_chushi = stream.readInt32(); datas.skill_damage_growth = stream.readInt32(); datas.skill_ad_chushi = stream.readInt32(); datas.skill_ad_growth = stream.readInt32(); datas.skill_ap_chushi = stream.readInt32(); datas.skill_ap_growth = stream.readInt32(); datas.skill_type = stream.readInt32(); datas.skill_ongoing = stream.readInt32(); datas.skill_sing_time = stream.readInt32(); datas.skill_cutdown = stream.readInt32(); datas.skill_cutdownif = stream.readInt32(); datas.skill_cd = stream.readInt32(); datas.attack_distance = stream.readInt32(); datas.aoe_radius = stream.readInt32(); return(datas); }