public static void DoWindowContents(Rect rect, Listing_Standard optionsListing) { optionsListing.Label("TwitchToolkitCommandsMenuExpl".Translate()); optionsListing.Gap(); optionsListing.CheckboxLabeled("TwitchToolkitCommandsModsEnabled".Translate(), ref ToolkitSettings.CommandsModsEnabled); optionsListing.Gap(); optionsListing.AddLabeledTextField("TwitchToolkitBalancecmd".Translate(), ref ToolkitSettings.BalanceCmd); optionsListing.AddLabeledTextField("TwitchToolkitBuyeventcmd".Translate(), ref ToolkitSettings.BuyeventCmd); optionsListing.AddLabeledTextField("TwitchToolkitBuyitemcmd".Translate(), ref ToolkitSettings.BuyitemCmd); optionsListing.AddLabeledTextField("TwitchToolkitInstructionscmd".Translate(), ref ToolkitSettings.InstructionsCmd); optionsListing.AddLabeledTextField("TwitchToolkitPurchaselistcmd".Translate(), ref ToolkitSettings.PurchaselistCmd); optionsListing.AddLabeledTextField("TwitchToolkitModinfocmd".Translate(), ref ToolkitSettings.ModinfoCmd); optionsListing.AddLabeledTextField("TwitchToolkitModsettingscmd".Translate(), ref ToolkitSettings.ModsettingsCmd); optionsListing.AddLabeledTextField("TwitchToolkitKarmacmd".Translate(), ref ToolkitSettings.KarmaCmd); optionsListing.AddLabeledTextField("TwitchToolkitGiftcmd".Translate(), ref ToolkitSettings.GiftCmd); optionsListing.AddLabeledTextField("TwitchToolkitCommandhelpcmd".Translate(), ref ToolkitSettings.CommandHelpCmd); optionsListing.Gap(); optionsListing.ColumnWidth = rect.width / 3; optionsListing.NewColumn(); if (optionsListing.ButtonText("TwitchToolkitCommandsLanguage".Translate())) { ToolkitSettings.BalanceCmd = "TwitchToolkitBalCmd".Translate(); ToolkitSettings.BuyeventCmd = "TwitchToolkitBuyEventCmd".Translate(); ToolkitSettings.BuyitemCmd = "TwitchTookitBuyItemCmd".Translate(); ToolkitSettings.InstructionsCmd = "TwitchToolkitInstructionsCmd".Translate(); ToolkitSettings.PurchaselistCmd = "TwitchToolkitPurchaseListCmd".Translate(); ToolkitSettings.ModinfoCmd = "TwitchToolkitModInfoCmd".Translate(); ToolkitSettings.ModsettingsCmd = "TwitchToolkitModSettingsCmd".Translate(); ToolkitSettings.KarmaCmd = "TwitchToolkitKarmaCmd".Translate(); ToolkitSettings.GiftCmd = "TwitchToolkitGiftCmd".Translate(); ToolkitSettings.CommandHelpCmd = "TwitchToolkitCmdHelpCmd".Translate(); } optionsListing.NewColumn(); }
public override void DoSettingsWindowContents(Rect inRect) { Listing_Standard listing_Standard = new Listing_Standard(); listing_Standard.Begin(inRect); //Default settings listing_Standard.AddLabeledCheckbox("RPC_ColonyLabel".Translate() + " ", ref settings.RPC_Colony); listing_Standard.AddLabeledCheckbox("RPC_ColonistCountLabel".Translate() + " ", ref settings.RPC_ColonistCount); listing_Standard.AddLabeledCheckbox("RPC_YearLabel".Translate() + " ", ref settings.RPC_Year); listing_Standard.AddLabeledCheckbox("RPC_YearShortLabel".Translate() + " ", ref settings.RPC_YearShort); listing_Standard.AddLabeledCheckbox("RPC_QuadrumLabel".Translate() + " ", ref settings.RPC_Quadrum); listing_Standard.AddLabeledCheckbox("RPC_DayLabel".Translate() + " ", ref settings.RPC_Day); listing_Standard.AddLabeledCheckbox("RPC_HourLabel".Translate() + " ", ref settings.RPC_Hour); listing_Standard.AddLabeledCheckbox("RPC_TimeLabel".Translate() + " ", ref settings.RPC_Time); //Custom field settings listing_Standard.AddLabeledCheckbox("CustomTopCheckbox".Translate() + " ", ref settings.RPC_CustomTop); if (RWRPCMod.settings.RPC_CustomTop) { listing_Standard.AddLabeledTextField("CustomTopLabel".Translate() + " ", ref settings.RPC_CustomTopText); } listing_Standard.AddLabeledCheckbox("CustomBottomCheckbox".Translate() + " ", ref settings.RPC_CustomBottom); if (RWRPCMod.settings.RPC_CustomBottom) { listing_Standard.AddLabeledTextField("CustomBottomLabel".Translate() + " ", ref settings.RPC_CustomBottomText); } if (listing_Standard.ButtonText("RPC_UpdateLabel".Translate())) { var world = Current.Game != null ? Current.Game.World : null; if (world != null) { StateHandler.PushState(Current.Game.CurrentMap); } } listing_Standard.End(); settings.Write(); }
public static void DoWindowContents(Rect rect, Listing_Standard optionsListing) { optionsListing.CheckboxLabeled("TwitchToolkitStoreOpen".Translate(), ref ToolkitSettings.StoreOpen); optionsListing.CheckboxLabeled("TwitchToolkitEarningCoins".Translate(), ref ToolkitSettings.EarningCoins); optionsListing.AddLabeledTextField("TwitchToolkitCustomPricingLink".Translate(), ref ToolkitSettings.CustomPricingSheetLink); optionsListing.Gap(); optionsListing.GapLine(); if (optionsListing.ButtonTextLabeled("Items Edit", "Open")) { Type type = typeof(StoreItemsWindow); Find.WindowStack.TryRemove(type); Window window = new StoreItemsWindow(); Find.WindowStack.Add(window); } optionsListing.Gap(); optionsListing.GapLine(); if (optionsListing.ButtonTextLabeled("Events Edit", "Open")) { Type type = typeof(StoreIncidentsWindow); Find.WindowStack.TryRemove(type); Window window = new StoreIncidentsWindow(); Find.WindowStack.Add(window); } optionsListing.Gap(); optionsListing.GapLine(); optionsListing.CheckboxLabeled("TwitchToolkitPurchaseConfirmations".Translate(), ref ToolkitSettings.PurchaseConfirmations); optionsListing.CheckboxLabeled("TwitchToolkitRepeatViewerNames".Translate(), ref ToolkitSettings.RepeatViewerNames); optionsListing.CheckboxLabeled("TwitchToolkitMinifiableBuildings".Translate(), ref ToolkitSettings.MinifiableBuildings); }
public override void DoWindowContents(Listing_Standard listing) { listing.AddLabeledTextField("What is your Twitch Channel?", ref ToolkitSettings.Channel); listing.Gap(); if (ToolkitSettings.Channel != "") { listing.CheckboxLabeled("Will you be using a separate twitch account for bot responses?", ref UseSeparateAccount, separateTwitchAccountBlurb); } listing.Gap(); if (UseSeparateAccount) { listing.AddLabeledTextField("What is your Twitch bot account's name?", ref ToolkitSettings.Username); } if (ToolkitSettings.Channel != "") { listing.GapLine(); listing.Gap(); listing.Label("You will need a Oauth token to connect to your channel's chatroom."); if (UseSeparateAccount) { listing.Label("Since you are using a separate bot account. Go into a web browser, logout of your streaming account, and login to your Twitch bot account."); } listing.Label("Visit twitchapps.com/tmi to make an Oauth token."); listing.Gap(); if (listing.ButtonTextLabeled("Open TwitchApps Website in Browser", "Open Website")) { Application.OpenURL("https://twitchapps.com/tmi/"); } if (!AcceptedOauthWarning && listing.ButtonTextLabeled("I am not publicly showing my oauth on a live stream.", "I Understand")) { AcceptedOauthWarning = true; } if (AcceptedOauthWarning) { listing.Label("Enter your oauth token, you can leave in the \"oauth:\" part."); listing.AddLabeledTextField("Oauth Token:", ref ToolkitSettings.OAuth); if (listing.ButtonTextLabeled("Hide Oauth Token", "Hide")) { AcceptedOauthWarning = false; } } } if (ToolkitSettings.OAuth != "") { listing.GapLine(); listing.CheckboxLabeled("Would you like to auto connect to your channel's chatroom on startup?", ref ToolkitSettings.AutoConnect, "Activating this option will auto connect you to your twitch channel chatroom each time you load a savegame."); listing.Gap(); } }
public static void DoWindowContents(Rect rect, Listing_Standard optionsListing) { optionsListing.AddLabeledTextField("TwitchToolkitChannel".Translate(), ref ToolkitSettings.Channel); optionsListing.AddLabeledTextField("TwitchToolkitUsername".Translate(), ref ToolkitSettings.Username); if (oauthWarningAccepted) { optionsListing.AddLabeledTextField("TwitchToolkitOauthKey".Translate(), ref ToolkitSettings.OAuth); if (optionsListing.ButtonTextLabeled("TwitchToolkitHideOauth".Translate(), "TwitchToolkitHideOauthButton".Translate())) { oauthWarningAccepted = false; } } if (!oauthWarningAccepted) { if (optionsListing.ButtonTextLabeled("TwitchToolkitOauthWarning".Translate(), "TwitchToolkitOauthUnderstand".Translate())) { oauthWarningAccepted = true; } } optionsListing.Gap(); if (optionsListing.CenteredButton("TwitchToolkitGetNewOauthKey".Translate())) { Application.OpenURL("https://twitchapps.com/tmi/"); } optionsListing.Gap(); optionsListing.CheckboxLabeled("TwitchToolkitAutoConnect".Translate(), ref ToolkitSettings.AutoConnect); optionsListing.Gap(); optionsListing.Label("TwitchToolkitWhatIsSeparateChannel".Translate()); if (optionsListing.CenteredButton("TwitchToolkitLearnMore".Translate())) { Application.OpenURL("https://techcrunch.com/2018/02/15/twitch-launches-always-on-chat-rooms-for-channels/"); } optionsListing.CheckboxLabeled("TwitchToolkitUseSeparateChannel".Translate(), ref ToolkitSettings.UseSeparateChatRoom); optionsListing.AddLabeledTextField("TwitchToolkitChannelID".Translate(), ref ToolkitSettings.ChannelID); optionsListing.AddLabeledTextField("TwitchToolkitChatroomID".Translate(), ref ToolkitSettings.ChatroomUUID); if (Toolkit.client != null) { if (Toolkit.client.client != null && Toolkit.client.client.Connected) { optionsListing.Label("TwitchToolkitConnected".Translate()); if (optionsListing.CenteredButton("TwitchToolkitDisconnect".Translate())) { Toolkit.client.Disconnect(); } if (optionsListing.CenteredButton("TwitchToolkitReconnect".Translate())) { Toolkit.client.Reconnect(); } } if (Toolkit.client.client == null || !Toolkit.client.client.Connected) { if (optionsListing.CenteredButton("TwitchToolkitConnect".Translate())) { Toolkit.client.Connect(); } } } else { optionsListing.Label("Need new connection"); if (optionsListing.CenteredButton("TwitchToolkitNewConnection".Translate())) { Toolkit.client = new IRC.ToolkitIRC(); } } }
public override void DoWindowContents(Listing_Standard listing) { listing.AddLabeledTextField("What is your Twitch Channel?", ref ToolkitSettings.Channel); listing.Gap(); if (ToolkitSettings.Channel != "") { listing.CheckboxLabeled("Will you be using a separate twitch account for bot responses?", ref UseSeparateAccount, separateTwitchAccountBlurb); } listing.Gap(); if (UseSeparateAccount) { listing.AddLabeledTextField("What is your Twitch bot account's name?", ref ToolkitSettings.Username); } if (ToolkitSettings.Channel != "") { listing.GapLine(); listing.Gap(); listing.Label("You will need a Oauth token to connect to your channel's chatroom."); if (UseSeparateAccount) { listing.Label("Since you are using a separate bot account. Go into a web browser, logout of your streaming account, and login to your Twitch bot account."); } listing.Label("Visit twitchapps.com/tmi to make an Oauth token."); listing.Gap(); if (listing.ButtonTextLabeled("Open TwitchApps Website in Browser", "Open Website")) { Application.OpenURL("https://twitchapps.com/tmi/"); } if (!AcceptedOauthWarning && listing.ButtonTextLabeled("I am not publicly showing my oauth on a live stream.", "I Understand")) { AcceptedOauthWarning = true; } if (AcceptedOauthWarning) { listing.Label("Enter your oauth token, you can leave in the \"oauth:\" part."); listing.AddLabeledTextField("Oauth Token:", ref ToolkitSettings.OAuth); if (listing.ButtonTextLabeled("Hide Oauth Token", "Hide")) { AcceptedOauthWarning = false; } } } if (ToolkitSettings.OAuth != "") { listing.GapLine(); listing.CheckboxLabeled("Would you like to auto connect to your channel's chatroom on startup?", ref ToolkitSettings.AutoConnect, "Activating this option will auto connect you to your twitch channel chatroom each time you load a savegame."); listing.Gap(); listing.CheckboxLabeled("Will you be using a separate chatroom for commands?", ref ToolkitSettings.UseSeparateChatRoom, "Using a separate chatroom allows you to connect to a separate chatroom in your channel for performing viewer commands"); listing.Gap(); if (ToolkitSettings.UseSeparateChatRoom) { listing.Label("Before you can connect, you will need to create a separate chat room in you channel."); if (listing.ButtonTextLabeled("Learn how to make Chatroom", "Open Browser")) { Application.OpenURL("https://cdn-images-1.medium.com/max/1600/1*jLwK45n0SEh7pcQi_Ed4sg.gif"); } listing.Gap(); listing.Label("You will need to fetch the channel id and chatroom uuid for your chatroom."); if (listing.ButtonTextLabeled("Channel ID and Chatroom UUID", "Open Browser")) { Application.OpenURL("https://twitch.honest.chat/list-chat-rooms/?get_room_ids=true&username="******"Channel ID:", ref ToolkitSettings.ChannelID); listing.AddLabeledTextField("Chatroom UUID:", ref ToolkitSettings.ChatroomUUID); listing.CheckboxLabeled("Will viewers be able to use store commands in both the separate chatroom and the main channel?", ref ToolkitSettings.AllowBothChatRooms); } } }
public static void DoWindowContents(Rect rect, Listing_Standard optionsListing) { optionsListing.AddLabeledTextField("TwitchToolkitChannel".Translate(), ref ToolkitSettings.Channel); optionsListing.AddLabeledTextField("TwitchToolkitUsername".Translate(), ref ToolkitSettings.Username); if (oauthWarningAccepted) { optionsListing.AddLabeledTextField("TwitchToolkitOauthKey".Translate(), ref ToolkitSettings.OAuth); if (optionsListing.ButtonTextLabeled("TwitchToolkitHideOauth".Translate(), "TwitchToolkitHideOauthButton".Translate())) { oauthWarningAccepted = false; } } if (!oauthWarningAccepted) { if (optionsListing.ButtonTextLabeled("TwitchToolkitOauthWarning".Translate(), "TwitchToolkitOauthUnderstand".Translate())) { oauthWarningAccepted = true; } } optionsListing.Gap(); if (optionsListing.CenteredButton("TwitchToolkitGetNewOauthKey".Translate())) { Application.OpenURL("https://twitchapps.com/tmi/"); } optionsListing.Gap(); optionsListing.CheckboxLabeled("Auto Connect to Twitch on Startup", ref ToolkitSettings.AutoConnect); optionsListing.Gap(); optionsListing.Label("TwitchToolkitWhatIsSeparateChannel".Translate()); if (optionsListing.CenteredButton("TwitchToolkitLearnMore".Translate())) { Application.OpenURL("https://techcrunch.com/2018/02/15/twitch-launches-always-on-chat-rooms-for-channels/"); } optionsListing.CheckboxLabeled("TwitchToolkitUseSeparateChannel".Translate(), ref ToolkitSettings.UseSeparateChatRoom); optionsListing.CheckboxLabeled("Allow viewers to use any chat room?", ref ToolkitSettings.AllowBothChatRooms); optionsListing.Gap(); optionsListing.AddLabeledTextField("TwitchToolkitChannelID".Translate(), ref ToolkitSettings.ChannelID); optionsListing.AddLabeledTextField("TwitchToolkitChatroomID".Translate(), ref ToolkitSettings.ChatroomUUID); optionsListing.Gap(); optionsListing.CheckboxLabeled("Should whispers be responded to in separate chat room?", ref ToolkitSettings.WhispersGoToChatRoom); optionsListing.CheckboxLabeled(Helper.ReplacePlaceholder("TwitchToolkitWhisperAllowed".Translate(), first: ToolkitSettings.Username), ref ToolkitSettings.WhisperCmdsAllowed); optionsListing.CheckboxLabeled(Helper.ReplacePlaceholder("TwitchToolkitWhisperOnly".Translate(), first: ToolkitSettings.Username), ref ToolkitSettings.WhisperCmdsOnly); if (Toolkit.client != null) { if (Toolkit.client.client != null && Toolkit.client.client.Connected) { optionsListing.Label("<color=#21D80E>" + "TwitchToolkitConnected".Translate() + "</color>"); if (optionsListing.CenteredButton("TwitchToolkitDisconnect".Translate())) { Toolkit.client.Disconnect(); } if (optionsListing.CenteredButton("TwitchToolkitReconnect".Translate())) { Toolkit.client.Reconnect(); } } if (Toolkit.client.client == null || !Toolkit.client.client.Connected) { if (optionsListing.CenteredButton("TwitchToolkitConnect".Translate())) { Toolkit.client.Connect(); } } } else { optionsListing.Label("Need new connection"); if (optionsListing.CenteredButton("TwitchToolkitNewConnection".Translate())) { Toolkit.client = new IRC.ToolkitIRC(); } } }
public void DoWindowContents(Rect wrect) { Listing_Standard options = new Listing_Standard(); Color defaultColor = GUI.color; options.Begin(wrect); Text.Font = GameFont.Medium; Text.Anchor = TextAnchor.MiddleCenter; GUI.color = Color.yellow; options.Label("M4_GreySettingsIgnored".Translate()); GUI.color = defaultColor; Text.Font = GameFont.Small; Text.Anchor = TextAnchor.UpperLeft; options.Gap(); options.ColumnWidth = wrect.width / 2 - widthFiddler; // Left column options.CheckboxLabeled("M4_NotifyDeadAnimals".Translate(), ref deathMessagesForAnimals, "M4_NotifyDeadAnimals_Desc".Translate()); options.GapLine(); options.CheckboxLabeled("M4_TimetableAssignmentMatters".Translate(), ref workAssignmentMatters, "M4_TimetableAssignmentMatters_Desc".Translate()); options.GapLine(); options.CheckboxLabeled("M4_BetterHostileReadouts".Translate(), ref betterHostileReadouts, "M4_BetterHostileReadouts_Desc".Translate()); options.GapLine(); options.SliderLabeled("M4_LessLitterLouting".Translate(), ref humanFilthRate, Math.Round(humanFilthRate, 2).ToString(), 0, 25, "M4_LessLitterLouting_Desc".Translate()); options.GapLine(); options.CheckboxLabeled("M4_ObedientPredatorsDontHuntTameDesignatedPawns".Translate(), ref obedientPredatorsDeferHuntingTameDesignatedAnimals, "M4_ObedientPredatorsDontHuntTameDesignatedPawns_Desc".Translate()); options.SliderLabeled("M4_AnimalInteractionHourLimit".Translate(), ref animalInteractionHourLimit, animalInteractionHourLimit + "h", 0, 24, "M4_AnimalInteractionHourLimit_Desc".Translate()); // Right column options.NewColumn(); options.Gap(yPos); options.CheckboxLabeled("M4_SettingBigAnimalMigrations".Translate(), ref bigAnimalMigrations, "M4_SettingBigAnimalMigrations_Desc".Translate()); options.GapLine(); options.CheckboxLabeled("M4_SettingEnableLargePacks".Translate(), ref enableLargePacks, "M4_SettingLargePack_Desc".Translate()); options.GapLine(); options.CheckboxLabeled("M4_TutorialStyleRolling".Translate(), ref enableTutorialStyleRolling, "M4_TutorialStyleRolling_Desc".Translate()); options.GapLine(); options.CheckboxLabeled("M4_ThingFilterInfoCards".Translate(), ref thingFilterInfoCards, "M4_ThingFilterInfoCards_Desc".Translate()); options.GapLine(); options.CheckboxLabeled("M4_DisplayRangedDPS".Translate(), ref displayRangedDPS, "M4_DisplayRangedDPS_Desc".Translate()); options.Gap(); options.End(); // More options Listing_Standard gapline = new Listing_Standard(); Rect gapliRect = new Rect(wrect.x, wrect.y + moreOptionsRecty - 35f, wrect.width, wrect.height); gapline.Begin(gapliRect); gapline.GapLine(); gapline.End(); Listing_Standard moreOptions = new Listing_Standard(); Rect moreOptionsRect = wrect; moreOptionsRect.y = (moreOptionsRecty + 20f) / 2; moreOptionsRect.height = height / 2; moreOptionsRect.yMax = yMax; Rect viewRect = new Rect(0, 0, wrect.width - 18f, viewHeight); viewRect.width -= 18f; moreOptions.Begin(moreOptionsRect); moreOptions.BeginScrollView(moreOptionsRect, ref scrollVector2, ref viewRect); if (!modifyAutoUndrafter) { GUI.color = Color.grey; } moreOptions.CheckboxLabeled("M4_SettingModifyAutoUndrafter".Translate(), ref modifyAutoUndrafter, "M4_SettingModifyAutoUndrafter_Desc".Translate()); if (modifyAutoUndrafter) { moreOptions.SliderLabeled("M4_SettingExtendUndraftTimeBy".Translate(), ref extendUndraftTimeBy, extendUndraftTimeBy.ToStringTicksToPeriod(), 0, 60000); moreOptions.CheckboxLabeled("M4_SettingWithGunsBlazing".Translate(), ref whenGunsAreFiring, "M4_SettingGunsBlazing_Desc".Translate()); moreOptions.CheckboxLabeled("M4_SettingLowMoodUndraft".Translate(), ref allowAutoUndraftAtLowMood, "M4_SettingLowMoodUndraft_Desc".Translate()); GUI.color = defaultColor; if (!modifyAutoUndrafter || !allowAutoUndraftAtLowMood) { GUI.color = Color.grey; } moreOptions.AddLabeledRadioList(string.Empty, mentalBreakRisks, ref dontExtendWhenMoodAt); } GUI.color = defaultColor; moreOptions.GapLine(); moreOptions.CheckboxLabeled("M4_SettingVariableRaidRetreat".Translate(), ref variableRaidRetreat, "M4_SettingVariableRaid_Desc".Translate()); if (!variableRaidRetreat) { GUI.color = Color.grey; } moreOptions.Gap(2); moreOptions.FloatRange("M4_SettingRetreatAtPercentageDefeated".Translate(), ref retreatDefeatRange, 0f, 1f, "M4_SettingRandomRaidRetreat_Desc".Translate( retreatDefeatRange.min.ToStringByStyle(ToStringStyle.PercentZero), retreatDefeatRange.max.ToStringByStyle(ToStringStyle.PercentZero) ), ToStringStyle.PercentZero); moreOptions.GapLine(); moreOptions.CheckboxLabeled("M4_SettingDontLeaveJustYet".Translate(), ref allowLongerStays, "M4_SettingDontLeaveJustYet_Desc".Translate()); if (!allowLongerStays) { GUI.color = Color.grey; } moreOptions.SliderLabeled("M4_SettingDaysUntilKickedOut".Translate(), ref extraDaysUntilKickedOut, extraDaysUntilKickedOut.ToString(), 1, 5); GUI.color = defaultColor; moreOptions.GapLine(); moreOptions.CheckboxLabeled("I am a modders FFS", ref iAmAModder, "Removes the 6 second cooldown on workshop submissions, unlocks special options."); if (iAmAModder) { moreOptions.Label("Dev mode spawn tweaks [Unsaved. Setting wiped on restart.]"); moreOptions.CheckboxLabeled("Choose item stuff", ref chooseItemStuff); moreOptions.Gap(); moreOptions.AddLabeledTextField("Stuff defName (blank = default stuff)", ref stuffDefName); moreOptions.Gap(); moreOptions.CheckboxLabeled("Force item quality", ref forceItemQuality); moreOptions.Gap(); moreOptions.SliderLabeled("Item quality", ref forcedItemQuality, ((QualityCategory)forcedItemQuality).ToString(), 0, 6); moreOptions.GapLine(); } moreOptions.EndScrollView(ref viewRect); moreOptions.End(); Mod.GetSettings <MeMiMoSettings>().Write(); }
public static void DoWindowContents(Rect rect, Listing_Standard optionsListing) { optionsListing.CheckboxLabeled("TwitchToolkitStoreOpen".Translate(), ref ToolkitSettings.StoreOpen); optionsListing.CheckboxLabeled("TwitchToolkitEarningCoins".Translate(), ref ToolkitSettings.EarningCoins); optionsListing.AddLabeledTextField("TwitchToolkitCustomPricingLink".Translate(), ref ToolkitSettings.CustomPricingSheetLink); }