Example #1
0
 static StackObject *AssignFromStack_GameViewObj_3(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack)
 {
     ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
     UnityEngine.GameObject @GameViewObj             = (UnityEngine.GameObject) typeof(UnityEngine.GameObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
     global::UITabController.TabLibEntry ins         = (global::UITabController.TabLibEntry)o;
     ins.GameViewObj = @GameViewObj;
     o = ins;
     return(ptr_of_this_method);
 }
Example #2
0
        static StackObject *AssignFromStack_TabTitle_2(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            global::UILabel @TabTitle = (global::UILabel)typeof(global::UILabel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            global::UITabController.TabLibEntry ins = (global::UITabController.TabLibEntry)o;
            ins.TabTitle = @TabTitle;
            o            = ins;
            return(ptr_of_this_method);
        }
Example #3
0
        static void WriteBackInstance(ILRuntime.Runtime.Enviorment.AppDomain __domain, StackObject *ptr_of_this_method, IList <object> __mStack, ref global::UITabController.TabLibEntry instance_of_this_method)
        {
            ptr_of_this_method = ILIntepreter.GetObjectAndResolveReference(ptr_of_this_method);
            switch (ptr_of_this_method->ObjectType)
            {
            case ObjectTypes.Object:
            {
                __mStack[ptr_of_this_method->Value] = instance_of_this_method;
            }
            break;

            case ObjectTypes.FieldReference:
            {
                var ___obj = __mStack[ptr_of_this_method->Value];
                if (___obj is ILTypeInstance)
                {
                    ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = instance_of_this_method;
                }
                else
                {
                    var t = __domain.GetType(___obj.GetType()) as CLRType;
                    t.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, instance_of_this_method);
                }
            }
            break;

            case ObjectTypes.StaticFieldReference:
            {
                var t = __domain.GetType(ptr_of_this_method->Value);
                if (t is ILType)
                {
                    ((ILType)t).StaticInstance[ptr_of_this_method->ValueLow] = instance_of_this_method;
                }
                else
                {
                    ((CLRType)t).SetStaticFieldValue(ptr_of_this_method->ValueLow, instance_of_this_method);
                }
            }
            break;

            case ObjectTypes.ArrayReference:
            {
                var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as global::UITabController.TabLibEntry[];
                instance_of_arrayReference[ptr_of_this_method->ValueLow] = instance_of_this_method;
            }
            break;
            }
        }
Example #4
0
 static void set_GameViewObj_3(ref object o, object v)
 {
     global::UITabController.TabLibEntry ins = (global::UITabController.TabLibEntry)o;
     ins.GameViewObj = (UnityEngine.GameObject)v;
     o = ins;
 }
Example #5
0
 static void set_TabTitle_2(ref object o, object v)
 {
     global::UITabController.TabLibEntry ins = (global::UITabController.TabLibEntry)o;
     ins.TabTitle = (global::UILabel)v;
     o            = ins;
 }
Example #6
0
 static void set_PressedTabObj_1(ref object o, object v)
 {
     global::UITabController.TabLibEntry ins = (global::UITabController.TabLibEntry)o;
     ins.PressedTabObj = (UnityEngine.GameObject)v;
     o = ins;
 }