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); }
public FillSpaceNotice(EntityFullInfoArray entitys, double spaceStartTime, double spaceEndTime, double serverTime) { this.entitys = entitys; this.spaceStartTime = spaceStartTime; this.spaceEndTime = spaceEndTime; this.serverTime = serverTime; }
public double serverTime; //服务器当前时间 public FillSpaceNotice() { entitys = new EntityFullInfoArray(); spaceStartTime = 0.0; spaceEndTime = 0.0; serverTime = 0.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); }
public AddEntityNotice(EntityFullInfoArray entitys, double serverTime) { this.entitys = entitys; this.serverTime = serverTime; }
public double serverTime; //服务器当前时间 public AddEntityNotice() { entitys = new EntityFullInfoArray(); serverTime = 0.0; }