예제 #1
0
 public int __decode(byte[] binData, ref int pos)
 {
     this.entityStates = new EntityStateArray();
     this.entityStates.__decode(binData, ref pos);
     this.entityMoves = new EntityMoveArray();
     this.entityMoves.__decode(binData, ref pos);
     return(pos);
 }
예제 #2
0
        public System.Collections.Generic.List <byte> __encode()
        {
            var data = new System.Collections.Generic.List <byte>();

            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);
        }
예제 #3
0
 public SceneRefreshNotice()
 {
     entityStates = new EntityStateArray();
     entityMoves  = new EntityMoveArray();
 }
예제 #4
0
 public SceneRefreshNotice(EntityStateArray entityStates, EntityMoveArray entityMoves)
 {
     this.entityStates = entityStates;
     this.entityMoves  = entityMoves;
 }
예제 #5
0
 public SceneRefreshNotice(DictPropArray entityProps, EntityStateArray entityStates, EntityMoveArray entityMoves)
 {
     this.entityProps  = entityProps;
     this.entityStates = entityStates;
     this.entityMoves  = entityMoves;
 }