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

            if (this.reports == null)
            {
                this.reports = new EntityReportArray();
            }
            data.AddRange(this.reports.__encode());
            return(data);
        }
示例#3
0
        public System.Collections.Generic.List <byte> __encode()
        {
            var data = new System.Collections.Generic.List <byte>();

            if (this.reports == null)
            {
                this.reports = new EntityReportArray();
            }
            data.AddRange(this.reports.__encode());
            data.AddRange(Proto4z.BaseProtoObject.encodeDouble(this.serverTime));
            return(data);
        }
示例#4
0
 public int __decode(byte[] binData, ref int pos)
 {
     this.reports = new EntityReportArray();
     this.reports.__decode(binData, ref pos);
     return(pos);
 }
示例#5
0
 public SceneReportsNotice(EntityReportArray reports)
 {
     this.reports = reports;
 }
示例#6
0
 public SceneReportsNotice()
 {
     reports = new EntityReportArray();
 }
示例#7
0
 public RefreshSpaceNotice(EntityInfoArray entitys, EntityReportArray reports, double serverTime)
 {
     this.entitys    = entitys;
     this.reports    = reports;
     this.serverTime = serverTime;
 }
示例#8
0
 public double serverTime; //服务器当前时间
 public RefreshSpaceNotice()
 {
     entitys    = new EntityInfoArray();
     reports    = new EntityReportArray();
     serverTime = 0.0;
 }
示例#9
0
 public RefreshSceneReportsNotice(EntityReportArray reports, double serverTime)
 {
     this.reports    = reports;
     this.serverTime = serverTime;
 }
示例#10
0
 public double serverTime; //服务器当前时间
 public RefreshSceneReportsNotice()
 {
     reports    = new EntityReportArray();
     serverTime = 0.0;
 }