Esempio n. 1
0
 public int __decode(byte[] binData, ref int pos)
 {
     this.eids = new EntityIDArray();
     this.eids.__decode(binData, ref pos);
     this.serverTime = Proto4z.BaseProtoObject.decodeDouble(binData, ref pos);
     return(pos);
 }
Esempio n. 2
0
        public System.Collections.Generic.List <byte> __encode()
        {
            var data = new System.Collections.Generic.List <byte>();

            if (this.eids == null)
            {
                this.eids = new EntityIDArray();
            }
            data.AddRange(this.eids.__encode());
            return(data);
        }
Esempio n. 3
0
        public System.Collections.Generic.List <byte> __encode()
        {
            var data = new System.Collections.Generic.List <byte>();

            if (this.eids == null)
            {
                this.eids = new EntityIDArray();
            }
            data.AddRange(this.eids.__encode());
            data.AddRange(Proto4z.BaseProtoObject.encodeDouble(this.serverTime));
            return(data);
        }
Esempio n. 4
0
 public int __decode(byte[] binData, ref int pos)
 {
     this.eids = new EntityIDArray();
     this.eids.__decode(binData, ref pos);
     return(pos);
 }
Esempio n. 5
0
 public RemoveEntityNotice(EntityIDArray eids)
 {
     this.eids = eids;
 }
Esempio n. 6
0
 public RemoveEntityNotice()
 {
     eids = new EntityIDArray();
 }
Esempio n. 7
0
 public RemoveEntityNotice(EntityIDArray eids, double serverTime)
 {
     this.eids       = eids;
     this.serverTime = serverTime;
 }
Esempio n. 8
0
 public double serverTime; //服务器当前时间
 public RemoveEntityNotice()
 {
     eids       = new EntityIDArray();
     serverTime = 0.0;
 }