Esempio n. 1
0
        public OperationResponse GetOperationResponse(short errorCode, string debugMessage)
        {
            var responseObject = new SpawnItemResponse {
                ItemId = this.ItemId
            };

            return(new OperationResponse(this.OperationRequest.OperationCode, responseObject)
            {
                ReturnCode = errorCode, DebugMessage = debugMessage
            });
        }
Esempio n. 2
0
 public OperationResponse GetOperationResponse(short errorCode, string debugMessage)
 {
     var responseObject = new SpawnItemResponse { ItemId = this.ItemId };
     return new OperationResponse(this.OperationRequest.OperationCode, responseObject) { ReturnCode = errorCode, DebugMessage = debugMessage };
 }