static StackObject *Ctor_0(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, 7); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String textPlaceholder = (System.String) typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.Boolean alert = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Boolean secure = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); System.Boolean multiline = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 5); System.Boolean autocorrection = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 6); UnityEngine.TouchScreenKeyboardType keyboardType = (UnityEngine.TouchScreenKeyboardType) typeof(UnityEngine.TouchScreenKeyboardType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 7); System.String text = (System.String) typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = new UnityEngine.TouchScreenKeyboard(text, keyboardType, autocorrection, multiline, secure, alert, textPlaceholder); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }
static int get_keyboardType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.UI.InputField obj = (UnityEngine.UI.InputField)o; UnityEngine.TouchScreenKeyboardType ret = obj.keyboardType; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index keyboardType on a nil value")); } }
static int set_keyboardType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UnityEngine.UI.InputField obj = (UnityEngine.UI.InputField)o; UnityEngine.TouchScreenKeyboardType arg0 = (UnityEngine.TouchScreenKeyboardType)ToLua.CheckObject(L, 2, typeof(UnityEngine.TouchScreenKeyboardType)); obj.keyboardType = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index keyboardType on a nil value")); } }
static StackObject *Open_5(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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.TouchScreenKeyboardType keyboardType = (UnityEngine.TouchScreenKeyboardType) typeof(UnityEngine.TouchScreenKeyboardType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String text = (System.String) typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = UnityEngine.TouchScreenKeyboard.Open(text, keyboardType); return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method)); }