public static bool Write(IWriter writer, KGSkillData val, string name = null) { if (!writer.StructBegin(KGSkillData.HASH_CODE, name)) { return(false); } DoWrite(writer, val.m_SkillInfo, "m_SkillInfo", Write); return(writer.StructEnd()); }
public static bool Read(IReader reader, ref KGSkillData val, string name = null) { if (!reader.StructBegin(KGSkillData.HASH_CODE, name)) { return(false); } DoRead(reader, ref val.m_SkillInfo, "m_SkillInfo", Read); return(reader.StructEnd()); }