Ejemplo n.º 1
0
 /// <summary>
 /// Register a Handler for messages with a given type and domain.
 /// Throws an exception if already registered.
 /// </summary>
 public static void Register(ushort domainId, ushort typeId, MessageHandler handler)
 {
     Log.Trace($"Registering handler for domainId: {domainId} & typeId: {typeId}");
     Static?.AddHandler(domainId, typeId, handler);
 }