Пример #1
0
        private void OnRouteChangedProc(string msg)
        {
            ApolloStringParser apolloStringParser = new ApolloStringParser(msg);
            ulong uInt = apolloStringParser.GetUInt64("serverId");

            if (this.RouteChangedEvent != null)
            {
                try
                {
                    this.RouteChangedEvent(uInt);
                }
                catch (Exception exception)
                {
                    ADebug.LogException(exception);
                }
            }
        }