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