AddInboundInterceptor() публичный Метод

public AddInboundInterceptor ( ICommandInterceptor interceptor, Type commandType ) : void
interceptor ICommandInterceptor
commandType System.Type
Результат void
 void Start()
 {
     webSocketService = FindObjectOfType<WebSocketService>();
     webSocketService.AddOutboundInterceptor(this, typeof(BossAttackDTO));
     webSocketService.AddInboundInterceptor(this, typeof(BossStatusUpdateDTO));
 }