Example #1
0
 public void Serialize(CSerialize ar)
 {
     ar.ReadWriteValue(ref ID);
     ar.ReadWriteValue(ref Width);
     ar.ReadWriteValue(ref Height);
     ar.SerializeStructArray <UIGifXMLFrame>(ref frame);
 }
Example #2
0
 public string szPlatName; // 平台名字
 public void Serialize(CSerialize ar)
 {
     ar.ReadWriteValue(ref szUserName);
     ar.ReadWriteValue(ref szPassword);
     ar.ReadWriteValue(ref nPlatType);
     ar.ReadWriteValue(ref szPlatName);
 }
Example #3
0
 void SerializeItemMsg(CSerialize ar, ref int key, ref ItemMsg value)
 {
     ar.ReadWriteValue(ref key);
     if (value == null)
     {
         value = new ItemMsg();
     }
     value.Serialize(ar);
 }
Example #4
0
 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);
 }
Example #5
0
 void SerializeFunc2(CSerialize ar, ref int key, ref string value)
 {
     ar.ReadWriteValue(ref key);
     ar.ReadWriteValue(ref value);
 }
Example #6
0
    public List <int> Attribs; // 属性ID

    public void Serialize(CSerialize ar)
    {
        ar.ReadWriteValue(ref ID);
        ar.ReadWriteValue(ref Name);
        ar.SerializeBaseArray(ref Attribs);
    }