public static int get_WaitingLocationId(IntPtr l) { int result; try { DataSectionTeam dataSectionTeam = (DataSectionTeam)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, dataSectionTeam.WaitingLocationId); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int ClearInviteInfos(IntPtr l) { int result; try { DataSectionTeam dataSectionTeam = (DataSectionTeam)LuaObject.checkSelf(l); dataSectionTeam.ClearInviteInfos(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_LastInviteSendTime(IntPtr l) { int result; try { DataSectionTeam dataSectionTeam = (DataSectionTeam)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, dataSectionTeam.LastInviteSendTime); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_GameFunctionTypeId(IntPtr l) { int result; try { DataSectionTeam dataSectionTeam = (DataSectionTeam)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushEnum(l, (int)dataSectionTeam.GameFunctionTypeId); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { DataSectionTeam o = new DataSectionTeam(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SerializeToClient(IntPtr l) { int result; try { DataSectionTeam dataSectionTeam = (DataSectionTeam)LuaObject.checkSelf(l); object o = dataSectionTeam.SerializeToClient(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetInviteInfos(IntPtr l) { int result; try { DataSectionTeam dataSectionTeam = (DataSectionTeam)LuaObject.checkSelf(l); List <TeamRoomInviteInfo> inviteInfos = dataSectionTeam.GetInviteInfos(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, inviteInfos); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_LastInviteSendTime(IntPtr l) { int result; try { DataSectionTeam dataSectionTeam = (DataSectionTeam)LuaObject.checkSelf(l); DateTime lastInviteSendTime; LuaObject.checkValueType <DateTime>(l, 2, out lastInviteSendTime); dataSectionTeam.LastInviteSendTime = lastInviteSendTime; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_WaitingFunctionTypeId(IntPtr l) { int result; try { DataSectionTeam dataSectionTeam = (DataSectionTeam)LuaObject.checkSelf(l); GameFunctionType waitingFunctionTypeId; LuaObject.checkEnum <GameFunctionType>(l, 2, out waitingFunctionTypeId); dataSectionTeam.WaitingFunctionTypeId = waitingFunctionTypeId; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_LocationId(IntPtr l) { int result; try { DataSectionTeam dataSectionTeam = (DataSectionTeam)LuaObject.checkSelf(l); int locationId; LuaObject.checkType(l, 2, out locationId); dataSectionTeam.LocationId = locationId; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SetTeamRoomInviteInfo(IntPtr l) { int result; try { DataSectionTeam dataSectionTeam = (DataSectionTeam)LuaObject.checkSelf(l); TeamRoomInviteInfo teamRoomInviteInfo; LuaObject.checkType <TeamRoomInviteInfo>(l, 2, out teamRoomInviteInfo); bool b = dataSectionTeam.SetTeamRoomInviteInfo(teamRoomInviteInfo); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int ClearAInviteInfo(IntPtr l) { int result; try { DataSectionTeam dataSectionTeam = (DataSectionTeam)LuaObject.checkSelf(l); ulong sessionId; LuaObject.checkType(l, 2, out sessionId); int roomId; LuaObject.checkType(l, 3, out roomId); dataSectionTeam.ClearAInviteInfo(sessionId, roomId); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }