예제 #1
0
        protected int RegisterMessageHandler(string name, Action <int, byte[]> action)
        {
            int counter = MessageManager.AddIncomingMessageHandler(name, action, networkId);

            registeredMessageHandlers.Add(name, counter);
            return(counter);
        }