public override RPCResponse ExecuteOrder(ExecuteOrderRequest Request, TCPConnection Connection)
 {
     if (_PlayerConnections.PlayerMatches(_PlayerMap[Request.Order.Army], Connection))
     {
         return(base.ExecuteOrder(Request, Connection));
     }
     return(new ByteResponse((byte)OrderInvalidReason.ILLEGAL));
 }
示例#2
0
 public virtual RPCResponse ExecuteOrder(ExecuteOrderRequest Request, TCPConnection Connection)
 {
     return(new ByteResponse((byte)_Match.BufferOrder(Request.Order)));
 }