public void Serialize(CSerialize ar) { ar.ReadWriteValue(ref ID); ar.ReadWriteValue(ref Width); ar.ReadWriteValue(ref Height); ar.SerializeStructArray <UIGifXMLFrame>(ref frame); }
public string szPlatName; // 平台名字 public void Serialize(CSerialize ar) { ar.ReadWriteValue(ref szUserName); ar.ReadWriteValue(ref szPassword); ar.ReadWriteValue(ref nPlatType); ar.ReadWriteValue(ref szPlatName); }
void SerializeItemMsg(CSerialize ar, ref int key, ref ItemMsg value) { ar.ReadWriteValue(ref key); if (value == null) { value = new ItemMsg(); } value.Serialize(ar); }
public void Serialize(CSerialize ar) { ar.ReadWriteValue(ref SpriteName); ar.ReadWriteValue(ref fNextGapTime); ar.ReadWriteValue(ref OffsetX); ar.ReadWriteValue(ref OffsetY); ar.ReadWriteValue(ref ScaleWidth); ar.ReadWriteValue(ref ScaleHeight); }
void SerializeFunc2(CSerialize ar, ref int key, ref string value) { ar.ReadWriteValue(ref key); ar.ReadWriteValue(ref value); }
public List <int> Attribs; // 属性ID public void Serialize(CSerialize ar) { ar.ReadWriteValue(ref ID); ar.ReadWriteValue(ref Name); ar.SerializeBaseArray(ref Attribs); }