public int __decode(byte[] binData, ref int pos) { this.entityProps = new DictPropArray(); this.entityProps.__decode(binData, ref pos); this.entityStates = new EntityStateArray(); this.entityStates.__decode(binData, ref pos); this.entityMoves = new EntityMoveArray(); this.entityMoves.__decode(binData, ref pos); return(pos); }
public System.Collections.Generic.List <byte> __encode() { var data = new System.Collections.Generic.List <byte>(); if (this.entityProps == null) { this.entityProps = new DictPropArray(); } data.AddRange(this.entityProps.__encode()); if (this.entityStates == null) { this.entityStates = new EntityStateArray(); } data.AddRange(this.entityStates.__encode()); if (this.entityMoves == null) { this.entityMoves = new EntityMoveArray(); } data.AddRange(this.entityMoves.__encode()); return(data); }
public SceneRefreshNotice(DictPropArray entityProps, EntityStateArray entityStates, EntityMoveArray entityMoves) { this.entityProps = entityProps; this.entityStates = entityStates; this.entityMoves = entityMoves; }
public SceneRefreshNotice() { entityProps = new DictPropArray(); entityStates = new EntityStateArray(); entityMoves = new EntityMoveArray(); }