示例#1
0
 public int __decode(byte[] binData, ref int pos)
 {
     this.entitys = new EntityFullInfoArray();
     this.entitys.__decode(binData, ref pos);
     this.serverTime = Proto4z.BaseProtoObject.decodeDouble(binData, ref pos);
     return(pos);
 }
示例#2
0
 public FillSpaceNotice(EntityFullInfoArray entitys, double spaceStartTime, double spaceEndTime, double serverTime)
 {
     this.entitys        = entitys;
     this.spaceStartTime = spaceStartTime;
     this.spaceEndTime   = spaceEndTime;
     this.serverTime     = serverTime;
 }
示例#3
0
 public double serverTime;           //服务器当前时间
 public FillSpaceNotice()
 {
     entitys        = new EntityFullInfoArray();
     spaceStartTime = 0.0;
     spaceEndTime   = 0.0;
     serverTime     = 0.0;
 }
示例#4
0
        public System.Collections.Generic.List <byte> __encode()
        {
            var data = new System.Collections.Generic.List <byte>();

            if (this.entitys == null)
            {
                this.entitys = new EntityFullInfoArray();
            }
            data.AddRange(this.entitys.__encode());
            data.AddRange(Proto4z.BaseProtoObject.encodeDouble(this.serverTime));
            return(data);
        }
示例#5
0
 public AddEntityNotice(EntityFullInfoArray entitys, double serverTime)
 {
     this.entitys    = entitys;
     this.serverTime = serverTime;
 }
示例#6
0
 public double serverTime; //服务器当前时间
 public AddEntityNotice()
 {
     entitys    = new EntityFullInfoArray();
     serverTime = 0.0;
 }