public AddInboundInterceptor ( ICommandInterceptor interceptor, |
||
interceptor | ICommandInterceptor | |
commandType | ||
return | void |
void Start() { webSocketService = FindObjectOfType<WebSocketService>(); webSocketService.AddOutboundInterceptor(this, typeof(BossAttackDTO)); webSocketService.AddInboundInterceptor(this, typeof(BossStatusUpdateDTO)); }