int SystemIOBinaryWriter_m_WriteChar(RealStatePtr L, int gen_param_count) { ObjectTranslator translator = this; System.IO.BinaryWriter gen_to_be_invoked = (System.IO.BinaryWriter)translator.FastGetCSObj(L, 1); { char _ch = (char)LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.WriteChar(_ch); return(0); } }
static int _m_WriteChar(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.IO.BinaryWriter gen_to_be_invoked = (System.IO.BinaryWriter)translator.FastGetCSObj(L, 1); { char _ch = (char)LuaAPI.xlua_tointeger(L, 2); gen_to_be_invoked.WriteChar(_ch); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }