public override System.Collections.Generic.IEnumerator <byte> SetUserGender(Gender gender)
        {
                        #if UNITY_ANALYTICS_API
            UnityEngine.Analytics.Gender output = UnityEngine.Analytics.Gender.Unknown;

            switch (gender)
            {
            case Gender.Female:
                output = UnityEngine.Analytics.Gender.Female;
                break;

            case Gender.Male:
                output = UnityEngine.Analytics.Gender.Male;
                break;

            case Gender.Any:
                output = UnityEngine.Analytics.Gender.Unknown;
                break;
            }

            UnityEngine.Analytics.Analytics.SetUserGender(output);
                        #endif

            yield return(0);
        }
        static StackObject *SetUserGender_8(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.Analytics.Gender gender = (UnityEngine.Analytics.Gender) typeof(UnityEngine.Analytics.Gender).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = UnityEngine.Analytics.Analytics.SetUserGender(gender);

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
        public override IEnumerator SetUserGender(User.Gender gender)
        {
            UnityEngine.Analytics.Gender output = UnityEngine.Analytics.Gender.Unknown;

            switch (gender)
            {
            case User.Gender.Female:
                output = UnityEngine.Analytics.Gender.Female;
                break;

            case User.Gender.Male:
                output = UnityEngine.Analytics.Gender.Male;
                break;

            case User.Gender.Any:
                output = UnityEngine.Analytics.Gender.Unknown;
                break;
            }

            UnityEngine.Analytics.Analytics.SetUserGender(output);

            yield return(false);
        }