public void Register <T>(Action <T> handler, ILifetimeManager lifetimeManager) where T : MultiPlayerMessage { innerRouter.Register(typeof(T).Name, (message) => handler((T)message.Data), lifetimeManager); }
public void Register <T>(Action <T> handler, ILifetimeManager lifetimeManager) where T : MultiPlayerMessage { innerRouter.Register(typeof(T).Name, (message) => handler((T)message.Data), lifetimeManager); }