Assets.Scripts.Services.Communication.WebSocketService.DispatchOutgoingCommandToInterceptors C# (CSharp) 메소드

DispatchOutgoingCommandToInterceptors() 개인적인 메소드

private DispatchOutgoingCommandToInterceptors ( CommandDTO commandDTO ) : bool
commandDTO Assets.Scripts.Services.Communication.DTOs.CommandDTO
리턴 bool
        private bool DispatchOutgoingCommandToInterceptors(CommandDTO commandDTO)
        {
            if (outboundCommandInterceptors.ContainsKey(commandDTO.GetType()))
            {
                return outboundCommandInterceptors[commandDTO.GetType()].OutboundIntercept(commandDTO);
            }
            return true;
        }