Example #1
0
        public static bool IsEnhanced(this NetState state)
        {
            if (state == null || state.Version == null)
            {
                return(false);
            }

            bool ec;

            if (!state.GetPropertyValue("IsEnhancedClient", out ec))
            {
                ec = state.Version.Major >= 67 || state.Version.Type == ClientType.UOTD;
            }

            return(ec);
        }