public void ServerQueueSubmitPiece(STPiece.STPieceShape shape) { int pieceIndex = 0; pieceIndex = (int)STPiece.GetByteCodeValueOfShape(shape); this.mQueue.Add(pieceIndex); }