public static int get_ChatGroupName(IntPtr l) { int result; try { ChatGroupCompactInfo chatGroupCompactInfo = (ChatGroupCompactInfo)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, chatGroupCompactInfo.ChatGroupName); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_ChatGroupId(IntPtr l) { int result; try { ChatGroupCompactInfo chatGroupCompactInfo = (ChatGroupCompactInfo)LuaObject.checkSelf(l); string chatGroupId; LuaObject.checkType(l, 2, out chatGroupId); chatGroupCompactInfo.ChatGroupId = chatGroupId; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_OnlineUserCount(IntPtr l) { int result; try { ChatGroupCompactInfo chatGroupCompactInfo = (ChatGroupCompactInfo)LuaObject.checkSelf(l); int onlineUserCount; LuaObject.checkType(l, 2, out onlineUserCount); chatGroupCompactInfo.OnlineUserCount = onlineUserCount; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Owner(IntPtr l) { int result; try { ChatGroupCompactInfo chatGroupCompactInfo = (ChatGroupCompactInfo)LuaObject.checkSelf(l); ChatUserCompactInfo owner; LuaObject.checkType <ChatUserCompactInfo>(l, 2, out owner); chatGroupCompactInfo.Owner = owner; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { ProChatGroupCompactInfo pbGroupInfo; LuaObject.checkType <ProChatGroupCompactInfo>(l, 2, out pbGroupInfo); ChatGroupCompactInfo o = new ChatGroupCompactInfo(pbGroupInfo); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetChatGroupSimpleInfo(IntPtr l) { int result; try { ChatGroupComponent chatGroupComponent = (ChatGroupComponent)LuaObject.checkSelf(l); string groupId; LuaObject.checkType(l, 2, out groupId); ChatGroupCompactInfo chatGroupSimpleInfo = chatGroupComponent.GetChatGroupSimpleInfo(groupId); LuaObject.pushValue(l, true); LuaObject.pushValue(l, chatGroupSimpleInfo); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }