Beispiel #1
0
        // Token: 0x0600002D RID: 45 RVA: 0x00002D64 File Offset: 0x00000F64
        public override void DisplayJournalUpdate(bool displayText)
        {
            GameObject gameObject = (GameObject)G_HunterJournal_I.updateMessageInstance.GetValue(null);
            bool       flag       = gameObject == null;

            if (flag)
            {
                gameObject = G_HunterJournal_I.SpawnJournalUpdate();
                G_HunterJournal_I.updateMessageInstance.SetValue(null, gameObject);
            }
            bool activeSelf = gameObject.activeSelf;

            if (activeSelf)
            {
                gameObject.SetActive(false);
            }
            gameObject.SetActive(true);
            global::PlayMakerFSM playMakerFSM = global::PlayMakerFSM.FindFsmOnGameObject(gameObject, "Journal Msg");
            bool flag2 = playMakerFSM;

            if (flag2)
            {
                global::FSMUtility.SetBool(playMakerFSM, "Full", displayText);
                global::FSMUtility.SetBool(playMakerFSM, "Should Recycle", true);
            }
        }
Beispiel #2
0
        static StackObject *AssignFromStack_m_StateMachine_1(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            global::PlayMakerFSM @m_StateMachine            = (global::PlayMakerFSM)typeof(global::PlayMakerFSM).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            ((global::GameFlowControlManager)o).m_StateMachine = @m_StateMachine;
            return(ptr_of_this_method);
        }
Beispiel #3
0
        static StackObject *Reset_1(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.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);
            global::PlayMakerFSM instance_of_this_method = (global::PlayMakerFSM)typeof(global::PlayMakerFSM).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Reset();

            return(__ret);
        }
Beispiel #4
0
        static StackObject *get_Fsm_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.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);
            global::PlayMakerFSM instance_of_this_method = (global::PlayMakerFSM)typeof(global::PlayMakerFSM).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.Fsm;

            object obj_result_of_this_method = result_of_this_method;

            if (obj_result_of_this_method is CrossBindingAdaptorType)
            {
                return(ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance));
            }
            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }