private void GetArgsList() { MessagesTitle = (string) ArgsList[2]; Messages = (string) ArgsList[4]; MSEGCheckBoxesList = (ArrayList) ArgsList[14]; megaSpawner = (MegaSpawner) ArgsList[19]; ESGArgsList = (ArrayList) ArgsList[21]; PersonalConfigList = (ArrayList) ArgsList[28]; index = (int) ESGArgsList[1]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; }
private void GetArgsList() { MessagesTitle = (string) ArgsList[2]; Messages = (string) ArgsList[4]; FileName = (string) ArgsList[7]; Changed = (bool) ArgsList[10]; ChangedSpawnerList = (ArrayList) ArgsList[11]; PersonalConfigList = (ArrayList) ArgsList[28]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; }
private void GetArgsList() { Help = (bool) ArgsList[0]; DisplayMessages = (bool) ArgsList[1]; MessagesTitle = (string) ArgsList[2]; OldMessagesTitle = (string) ArgsList[3]; Messages = (string) ArgsList[4]; OldMessages = (string) ArgsList[5]; PageInfoList = (ArrayList) ArgsList[12]; AVSArgsList = (ArrayList) ArgsList[22]; PersonalConfigList = (ArrayList) ArgsList[28]; AITCCheckBoxesList = (ArrayList) ArgsList[31]; SEGArgsList = (ArrayList) ArgsList[32]; cpg = (int) PageInfoList[30]; pg = (int) PageInfoList[31]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; ActiveTEBGTypeConfig = (BackgroundType) PersonalConfigList[2]; InactiveTEBGTypeConfig = (BackgroundType) PersonalConfigList[3]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; MessagesTextColor = (TextColor) PersonalConfigList[6]; CommandButtonsTextColor = (TextColor) PersonalConfigList[7]; PageNumberTextColor = (int) PersonalConfigList[8]; ActiveTextEntryTextColor = (int) PersonalConfigList[9]; InactiveTextEntryTextColor = (int) PersonalConfigList[10]; addItem = (string) AVSArgsList[23]; InsideItemList = (ArrayList) AVSArgsList[27]; }
private void GetArgsList() { Help = (bool) ArgsList[0]; DisplayMessages = (bool) ArgsList[1]; MessagesTitle = (string) ArgsList[2]; OldMessagesTitle = (string) ArgsList[3]; Messages = (string) ArgsList[4]; OldMessages = (string) ArgsList[5]; HideSpawnerList = (ArrayList) ArgsList[6]; FileName = (string) ArgsList[7]; Changed = (bool) ArgsList[10]; ChangedSpawnerList = (ArrayList) ArgsList[11]; PageInfoList = (ArrayList) ArgsList[12]; MSGCheckBoxesList = (ArrayList) ArgsList[13]; PCGArgsList = (ArrayList) ArgsList[26]; PCGSetList = (ArrayList) ArgsList[27]; PersonalConfigList = (ArrayList) ArgsList[28]; RefreshSpawnerLists = (bool) ArgsList[34]; SpawnerList = (ArrayList) ArgsList[35]; MasterSpawnerList = (ArrayList) ArgsList[36]; ModHideSpawnerList = (ArrayList) ArgsList[37]; GotoLocation = (bool) ArgsList[38]; cpg = (int) PageInfoList[0]; pg = (int) PageInfoList[1]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; MessagesTextColor = (TextColor) PersonalConfigList[6]; CommandButtonsTextColor = (TextColor) PersonalConfigList[7]; PageNumberTextColor = (int) PersonalConfigList[8]; sortSearchFor = (string) PersonalConfigList[15]; sortSearchType = (SortSearchType) PersonalConfigList[16]; sortOrder = (SortOrder) PersonalConfigList[17]; sortType = (SortSearchType) PersonalConfigList[18]; sortSearchCaseSensitive = (bool) PersonalConfigList[19]; sortSearchFlagged = (bool) PersonalConfigList[20]; sortSearchBadLocation = (bool) PersonalConfigList[21]; sortSearchDupeSpawners = (bool) PersonalConfigList[22]; }
private void GetArgsList() { Help = (bool) ArgsList[0]; DisplayMessages = (bool) ArgsList[1]; MessagesTitle = (string) ArgsList[2]; OldMessagesTitle = (string) ArgsList[3]; Messages = (string) ArgsList[4]; OldMessages = (string) ArgsList[5]; PageInfoList = (ArrayList) ArgsList[12]; SCGArgsList = (ArrayList) ArgsList[24]; SCGSetList = (ArrayList) ArgsList[25]; PersonalConfigList = (ArrayList) ArgsList[28]; cpg = (int) PageInfoList[18]; pg = (int) PageInfoList[19]; ConfigRead = (bool) SCGArgsList[0]; timerTypeSwitch = (TimerType) SCGArgsList[1]; debugSwitch = (bool) SCGArgsList[2]; staffTriggerEventSwitch = (bool) SCGArgsList[3]; TimerConfigClicked = (bool) SCGSetList[0]; MiscConfigClicked = (bool) SCGSetList[1]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; ActiveTEBGTypeConfig = (BackgroundType) PersonalConfigList[2]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; MessagesTextColor = (TextColor) PersonalConfigList[6]; CommandButtonsTextColor = (TextColor) PersonalConfigList[7]; PageNumberTextColor = (int) PersonalConfigList[8]; ActiveTextEntryTextColor = (int) PersonalConfigList[9]; }
private void GetArgsList() { Help = (bool) ArgsList[0]; DisplayMessages = (bool) ArgsList[1]; MessagesTitle = (string) ArgsList[2]; OldMessagesTitle = (string) ArgsList[3]; Messages = (string) ArgsList[4]; OldMessages = (string) ArgsList[5]; HideSpawnerList = (ArrayList) ArgsList[6]; FileName = (string) ArgsList[7]; DirectoryPath = (string) ArgsList[9]; PageInfoList = (ArrayList) ArgsList[12]; MSGCheckBoxesList = (ArrayList) ArgsList[13]; PersonalConfigList = (ArrayList) ArgsList[28]; cpg = (int) PageInfoList[10]; pg = (int) PageInfoList[11]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; MessagesTextColor = (TextColor) PersonalConfigList[6]; CommandButtonsTextColor = (TextColor) PersonalConfigList[7]; PageNumberTextColor = (int) PersonalConfigList[8]; DirectoryTextColor = (int) PersonalConfigList[11]; FileTextColor = (int) PersonalConfigList[12]; KnownFileTextColor = (int) PersonalConfigList[13]; }
private void GetArgsList() { Help = (bool) ArgsList[0]; DisplayMessages = (bool) ArgsList[1]; MessagesTitle = (string) ArgsList[2]; OldMessagesTitle = (string) ArgsList[3]; Messages = (string) ArgsList[4]; OldMessages = (string) ArgsList[5]; PageInfoList = (ArrayList) ArgsList[12]; MSEGCheckBoxesList = (ArrayList) ArgsList[14]; megaSpawner = (MegaSpawner) ArgsList[19]; ESGArgsList = (ArrayList) ArgsList[21]; PersonalConfigList = (ArrayList) ArgsList[28]; SEGArgsList = (ArrayList) ArgsList[32]; cpg = (int) PageInfoList[4]; pg = (int) PageInfoList[5]; AddToSpawner = (bool) ESGArgsList[0]; index = (int) ESGArgsList[1]; activatedSwitch = (bool) ESGArgsList[2]; spawnGroupSwitch = (bool) ESGArgsList[3]; eventAmbushSwitch = (bool) ESGArgsList[4]; spawnTypeSwitch = (SpawnType) ESGArgsList[5]; if ( !bEntryType ) entryType = (string) ESGArgsList[6]; if ( !bSpawnRange ) spawnRange = (int) ESGArgsList[7]; if ( !bWalkRange ) walkRange = (int) ESGArgsList[8]; if ( !bAmount ) amount = (int) ESGArgsList[9]; if ( !bMinDelayHour ) minDelayHour = (int) ESGArgsList[10]; if ( !bMinDelayMin ) minDelayMin = (int) ESGArgsList[11]; if ( !bMinDelaySec ) minDelaySec = (int) ESGArgsList[12]; if ( !bMaxDelayHour ) maxDelayHour = (int) ESGArgsList[13]; if ( !bMaxDelayMin ) maxDelayMin = (int) ESGArgsList[14]; if ( !bMaxDelaySec ) maxDelaySec = (int) ESGArgsList[15]; if ( !bEventRange ) eventRange = (int) ESGArgsList[16]; if ( !bBeginTimeBased ) { beginTimeBasedHour = (int) ESGArgsList[17]; beginTimeBasedMinute = (int) ESGArgsList[18]; } if ( !bEndTimeBased ) { endTimeBasedHour = (int) ESGArgsList[19]; endTimeBasedMinute = (int) ESGArgsList[20]; } keyword = (string) ESGArgsList[21]; caseSensitiveSwitch = (bool) ESGArgsList[22]; if ( !bMinStackAmount ) minStackAmount = (int) ESGArgsList[23]; if ( !bMaxStackAmount ) maxStackAmount = (int) ESGArgsList[24]; movableSwitch = (bool) ESGArgsList[25]; if ( !bMinDespawnHour ) minDespawnHour = (int) ESGArgsList[26]; if ( !bMinDespawnMin ) minDespawnMin = (int) ESGArgsList[27]; if ( !bMinDespawnSec ) minDespawnSec = (int) ESGArgsList[28]; if ( !bMaxDespawnHour ) maxDespawnHour = (int) ESGArgsList[29]; if ( !bMaxDespawnMin ) maxDespawnMin = (int) ESGArgsList[30]; if ( !bMaxDespawnSec ) maxDespawnSec = (int) ESGArgsList[31]; despawnSwitch = (bool) ESGArgsList[32]; despawnGroupSwitch = (bool) ESGArgsList[33]; despawnTimeExpireSwitch = (bool) ESGArgsList[34]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; ActiveTEBGTypeConfig = (BackgroundType) PersonalConfigList[2]; InactiveTEBGTypeConfig = (BackgroundType) PersonalConfigList[3]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; MessagesTextColor = (TextColor) PersonalConfigList[6]; CommandButtonsTextColor = (TextColor) PersonalConfigList[7]; PageNumberTextColor = (int) PersonalConfigList[8]; ActiveTextEntryTextColor = (int) PersonalConfigList[9]; InactiveTextEntryTextColor = (int) PersonalConfigList[10]; FlagTextColor = (TextColor) PersonalConfigList[14]; }
private void GetArgsList() { MessagesTitle = (string) ArgsList[2]; Messages = (string) ArgsList[4]; MSGCheckBoxesList = (ArrayList) ArgsList[13]; PersonalConfigList = (ArrayList) ArgsList[28]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; }
private void GetArgsList() { Help = (bool) ArgsList[0]; DisplayMessages = (bool) ArgsList[1]; MessagesTitle = (string) ArgsList[2]; OldMessagesTitle = (string) ArgsList[3]; Messages = (string) ArgsList[4]; OldMessages = (string) ArgsList[5]; PageInfoList = (ArrayList) ArgsList[12]; PCGArgsList = (ArrayList) ArgsList[26]; PCGSetList = (ArrayList) ArgsList[27]; PersonalConfigList = (ArrayList) ArgsList[28]; cpg = (int) PageInfoList[20]; pg = (int) PageInfoList[21]; styleTypeSwitch = (StyleType) PCGArgsList[0]; backgroundTypeSwitch = (BackgroundType) PCGArgsList[1]; activeTEBGTypeSwitch = (BackgroundType) PCGArgsList[2]; inactiveTEBGTypeSwitch = (BackgroundType) PCGArgsList[3]; defaultTextColorSwitch = (TextColor) PCGArgsList[4]; titleTextColorSwitch = (TextColor) PCGArgsList[5]; messagesTextColorSwitch = (TextColor) PCGArgsList[6]; commandButtonsTextColorSwitch = (TextColor) PCGArgsList[7]; flagTextColorSwitch = (TextColor) PCGArgsList[8]; StyleConfigClicked = (bool) PCGSetList[0]; TextColorConfigClicked = (bool) PCGSetList[1]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; ActiveTEBGTypeConfig = (BackgroundType) PersonalConfigList[2]; InactiveTEBGTypeConfig = (BackgroundType) PersonalConfigList[3]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; MessagesTextColor = (TextColor) PersonalConfigList[6]; CommandButtonsTextColor = (TextColor) PersonalConfigList[7]; PageNumberTextColor = (int) PersonalConfigList[8]; ActiveTextEntryTextColor = (int) PersonalConfigList[9]; InactiveTextEntryTextColor = (int) PersonalConfigList[10]; DirectoryTextColor = (int) PersonalConfigList[11]; FileTextColor = (int) PersonalConfigList[12]; KnownFileTextColor = (int) PersonalConfigList[13]; FlagTextColor = (TextColor) PersonalConfigList[14]; }
private void SubmitConfig( RelayInfo info, bool submit, int command ) { int settingNum = 0; string oldMessages = Messages; if ( submit ) { MessagesTitle = "Save Configurations"; Messages = null; } if ( StyleConfigClicked ) settingNum = 1; if ( TextColorConfigClicked ) settingNum = 2; switch ( settingNum ) { case 0: { Messages = oldMessages; if ( submit ) Messages = "Your Personal Configurations have been saved."; UpdatePage( command ); OpenGump(); break; } case 1: { int switchNum = 0; switch ( pg ) { case 3: { switchNum = MC.GetSwitchNum( info, 1, 10 ); styleTypeSwitch = (StyleType) switchNum; switchNum = MC.GetSwitchNum( info, 11, 18 ); backgroundTypeSwitch = (BackgroundType) switchNum; break; } case 4: { switchNum = MC.GetSwitchNum( info, 1, 9 ); activeTEBGTypeSwitch = (BackgroundType) switchNum; switchNum = MC.GetSwitchNum( info, 10, 19 ); inactiveTEBGTypeSwitch = (BackgroundType) switchNum; break; } } StyleTypeConfig = styleTypeSwitch; BackgroundTypeConfig = backgroundTypeSwitch; ActiveTEBGTypeConfig = activeTEBGTypeSwitch; InactiveTEBGTypeConfig = inactiveTEBGTypeSwitch; WriteConfig(); if ( submit ) { Messages = "Your Personal Configurations have been saved."; SetArgsList(); gumpMobile.SendGump( new MegaSpawnerGump( gumpMobile, ArgsList ) ); break; } else { Messages = oldMessages; UpdatePage( command ); } OpenGump(); break; } case 2: { int switchNum = MC.GetSwitchNum( info, 1, 21 ); switch ( pg ) { case 6:{ defaultTextColorSwitch = (TextColor) switchNum; break; } case 7:{ titleTextColorSwitch = (TextColor) switchNum; break; } case 8:{ messagesTextColorSwitch = (TextColor) switchNum; break; } case 9:{ commandButtonsTextColorSwitch = (TextColor) switchNum; break; } case 10:{ flagTextColorSwitch = (TextColor) switchNum; break; } case 11: { bool invalid = false; bool fPageNumberTextColor=false, fActiveTextEntryTextColor=false, fInactiveTextEntryTextColor=false, fDirectoryTextColor=false, fFileTextColor=false, fKnownFileTextColor=false; string checkPageNumberTextColor=null, checkActiveTextEntryTextColor=null, checkInactiveTextEntryTextColor=null, checkDirectoryTextColor=null, checkFileTextColor=null, checkKnownFileTextColor=null; int intPageNumberTextColor=0, intActiveTextEntryTextColor=0, intInactiveTextEntryTextColor=0, intDirectoryTextColor=0, intFileTextColor=0, intKnownFileTextColor=0; TextRelay textInput; textInput = info.GetTextEntry( 1 ); checkPageNumberTextColor = Convert.ToString( textInput.Text ); textInput = info.GetTextEntry( 2 ); checkActiveTextEntryTextColor = Convert.ToString( textInput.Text ); textInput = info.GetTextEntry( 2 ); checkInactiveTextEntryTextColor = Convert.ToString( textInput.Text ); textInput = info.GetTextEntry( 4 ); checkDirectoryTextColor = Convert.ToString( textInput.Text ); textInput = info.GetTextEntry( 5 ); checkFileTextColor = Convert.ToString( textInput.Text ); textInput = info.GetTextEntry( 6 ); checkKnownFileTextColor = Convert.ToString( textInput.Text ); try{ intPageNumberTextColor = Convert.ToInt32( checkPageNumberTextColor ); } catch { invalid = true; fPageNumberTextColor = true; Messages = String.Format( "{0}Invalid input for [Page Number Text Color]. You must specify an integer only.\n", Messages ); } try{ intActiveTextEntryTextColor = Convert.ToInt32( checkActiveTextEntryTextColor ); } catch { invalid = true; fActiveTextEntryTextColor = true; Messages = String.Format( "{0}Invalid input for [Active Text Entry Text Color]. You must specify an integer only.\n", Messages ); } try{ intInactiveTextEntryTextColor = Convert.ToInt32( checkInactiveTextEntryTextColor ); } catch { invalid = true; fInactiveTextEntryTextColor = true; Messages = String.Format( "{0}Invalid input for [Inactive Text Entry Text Color]. You must specify an integer only.\n", Messages ); } try{ intDirectoryTextColor = Convert.ToInt32( checkDirectoryTextColor ); } catch { invalid = true; fDirectoryTextColor = true; Messages = String.Format( "{0}Invalid input for [Directory Text Color]. You must specify an integer only.\n", Messages ); } try{ intFileTextColor = Convert.ToInt32( checkFileTextColor ); } catch { invalid = true; fFileTextColor = true; Messages = String.Format( "{0}Invalid input for [File Text Color]. You must specify an integer only.\n", Messages ); } try{ intKnownFileTextColor = Convert.ToInt32( checkKnownFileTextColor ); } catch { invalid = true; fKnownFileTextColor = true; Messages = String.Format( "{0}Invalid input for [Known File Text Color]. You must specify an integer only.\n", Messages ); } if ( invalid ) { if ( !fPageNumberTextColor ) PageNumberTextColor = intPageNumberTextColor; if ( !fActiveTextEntryTextColor ) ActiveTextEntryTextColor = intActiveTextEntryTextColor; if ( !fInactiveTextEntryTextColor ) InactiveTextEntryTextColor = intInactiveTextEntryTextColor; if ( !fDirectoryTextColor ) DirectoryTextColor = intDirectoryTextColor; if ( !fFileTextColor ) FileTextColor = intFileTextColor; if ( !fKnownFileTextColor ) KnownFileTextColor = intKnownFileTextColor; if ( !submit ) { Messages = oldMessages; UpdatePage( command ); } OpenGump(); return; } PageNumberTextColor = intPageNumberTextColor; ActiveTextEntryTextColor = intActiveTextEntryTextColor; InactiveTextEntryTextColor = intInactiveTextEntryTextColor; DirectoryTextColor = intDirectoryTextColor; FileTextColor = intFileTextColor; KnownFileTextColor = intKnownFileTextColor; break; } } DefaultTextColor = defaultTextColorSwitch; TitleTextColor = titleTextColorSwitch; MessagesTextColor = messagesTextColorSwitch; CommandButtonsTextColor = commandButtonsTextColorSwitch; FlagTextColor = flagTextColorSwitch; WriteConfig(); if ( submit ) { Messages = "Your Personal Configurations have been saved."; SetArgsList(); gumpMobile.SendGump( new MegaSpawnerGump( gumpMobile, ArgsList ) ); break; } else { Messages = oldMessages; UpdatePage( command ); } OpenGump(); break; } } }
private void AddTextColorsPage( TextColor textColorSwitch ) { AddHtml( 101, 121, 160, 20, MC.ColorText( defaultTextColor, "<center>Purples</center>" ), false, false ); AddHtml( 141, 141, 100, 20, MC.ColorText( MC.TextColorLightPurple, "Light Purple" ), false, false ); AddRadio( 100, 140, 210, 211, textColorSwitch == TextColor.LightPurple, 1 ); AddHtml( 141, 161, 100, 20, MC.ColorText( MC.TextColorPurple, "Purple" ), false, false ); AddRadio( 100, 160, 210, 211, textColorSwitch == TextColor.Purple, 2 ); AddHtml( 141, 181, 100, 20, MC.ColorText( MC.TextColorDarkPurple, "Dark Purple" ), false, false ); AddRadio( 100, 180, 210, 211, textColorSwitch == TextColor.DarkPurple, 3 ); AddHtml( 101, 221, 160, 20, MC.ColorText( defaultTextColor, "<center>Blues</center>" ), false, false ); AddHtml( 141, 241, 100, 20, MC.ColorText( MC.TextColorLightBlue, "Light Blue" ), false, false ); AddRadio( 100, 240, 210, 211, textColorSwitch == TextColor.LightBlue, 4 ); AddHtml( 141, 261, 100, 20, MC.ColorText( MC.TextColorBlue, "Blue" ), false, false ); AddRadio( 100, 260, 210, 211, textColorSwitch == TextColor.Blue, 5 ); AddHtml( 141, 281, 100, 20, MC.ColorText( MC.TextColorDarkBlue, "Dark Blue" ), false, false ); AddRadio( 100, 280, 210, 211, textColorSwitch == TextColor.DarkBlue, 6 ); AddHtml( 101, 321, 160, 20, MC.ColorText( defaultTextColor, "<center>Reds</center>" ), false, false ); AddHtml( 141, 341, 100, 20, MC.ColorText( MC.TextColorLightRed, "Light Red" ), false, false ); AddRadio( 100, 340, 210, 211, textColorSwitch == TextColor.LightRed, 7 ); AddHtml( 141, 361, 100, 20, MC.ColorText( MC.TextColorRed, "Red" ), false, false ); AddRadio( 100, 360, 210, 211, textColorSwitch == TextColor.Red, 8 ); AddHtml( 141, 381, 100, 20, MC.ColorText( MC.TextColorDarkRed, "Dark Red" ), false, false ); AddRadio( 100, 380, 210, 211, textColorSwitch == TextColor.DarkRed, 9 ); AddHtml( 301, 121, 160, 20, MC.ColorText( defaultTextColor, "<center>Greens</center>" ), false, false ); AddHtml( 341, 141, 100, 20, MC.ColorText( MC.TextColorLightGreen, "Light Green" ), false, false ); AddRadio( 300, 140, 210, 211, textColorSwitch == TextColor.LightGreen, 10 ); AddHtml( 341, 161, 100, 20, MC.ColorText( MC.TextColorGreen, "Green" ), false, false ); AddRadio( 300, 160, 210, 211, textColorSwitch == TextColor.Green, 11 ); AddHtml( 341, 181, 100, 20, MC.ColorText( MC.TextColorDarkGreen, "Dark Green" ), false, false ); AddRadio( 300, 180, 210, 211, textColorSwitch == TextColor.DarkGreen, 12 ); AddHtml( 301, 221, 160, 20, MC.ColorText( defaultTextColor, "<center>Yellows</center>" ), false, false ); AddHtml( 341, 241, 100, 20, MC.ColorText( MC.TextColorLightYellow, "Light Yellow" ), false, false ); AddRadio( 300, 240, 210, 211, textColorSwitch == TextColor.LightYellow, 13 ); AddHtml( 341, 261, 100, 20, MC.ColorText( MC.TextColorYellow, "Yellow" ), false, false ); AddRadio( 300, 260, 210, 211, textColorSwitch == TextColor.Yellow, 14 ); AddHtml( 341, 281, 100, 20, MC.ColorText( MC.TextColorDarkYellow, "Dark Yellow" ), false, false ); AddRadio( 300, 280, 210, 211, textColorSwitch == TextColor.DarkYellow, 15 ); AddHtml( 501, 121, 160, 20, MC.ColorText( defaultTextColor, "<center>Grayscale</center>" ), false, false ); AddHtml( 541, 141, 100, 20, MC.ColorText( MC.TextColorWhite, "White" ), false, false ); AddRadio( 500, 140, 210, 211, textColorSwitch == TextColor.White, 16 ); AddHtml( 541, 161, 100, 20, MC.ColorText( MC.TextColorLightGray, "Light Gray" ), false, false ); AddRadio( 500, 160, 210, 211, textColorSwitch == TextColor.LightGray, 17 ); AddHtml( 541, 181, 130, 20, MC.ColorText( MC.TextColorMediumLightGray, "Medium Light Gray" ), false, false ); AddRadio( 500, 180, 210, 211, textColorSwitch == TextColor.MediumLightGray, 18 ); AddHtml( 541, 201, 100, 20, MC.ColorText( MC.TextColorMediumGray, "Medium Gray" ), false, false ); AddRadio( 500, 200, 210, 211, textColorSwitch == TextColor.MediumGray, 19 ); AddHtml( 541, 221, 100, 20, MC.ColorText( MC.TextColorDarkGray, "Dark Gray" ), false, false ); AddRadio( 500, 220, 210, 211, textColorSwitch == TextColor.DarkGray, 20 ); AddHtml( 541, 241, 100, 20, MC.ColorText( MC.TextColorBlack, "Black" ), false, false ); AddRadio( 500, 240, 210, 211, textColorSwitch == TextColor.Black, 21 ); }
private void GetArgsList() { Help = (bool) ArgsList[0]; DisplayMessages = (bool) ArgsList[1]; MessagesTitle = (string) ArgsList[2]; OldMessagesTitle = (string) ArgsList[3]; Messages = (string) ArgsList[4]; OldMessages = (string) ArgsList[5]; PageInfoList = (ArrayList) ArgsList[12]; SettingsCheckBoxesList = (ArrayList) ArgsList[17]; megaSpawner = (MegaSpawner) ArgsList[19]; AVSArgsList = (ArrayList) ArgsList[22]; AVSSetList = (ArrayList) ArgsList[23]; PersonalConfigList = (ArrayList) ArgsList[28]; cpg = (int) PageInfoList[12]; pg = (int) PageInfoList[13]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; MessagesTextColor = (TextColor) PersonalConfigList[6]; CommandButtonsTextColor = (TextColor) PersonalConfigList[7]; PageNumberTextColor = (int) PersonalConfigList[8]; FlagTextColor = (TextColor) PersonalConfigList[14]; }
private void GetArgsList() { Help = (bool) ArgsList[0]; DisplayMessages = (bool) ArgsList[1]; MessagesTitle = (string) ArgsList[2]; OldMessagesTitle = (string) ArgsList[3]; Messages = (string) ArgsList[4]; OldMessages = (string) ArgsList[5]; PageInfoList = (ArrayList) ArgsList[12]; PersonalConfigList = (ArrayList) ArgsList[28]; EAGArgsList = (ArrayList) ArgsList[29]; cpg = (int) PageInfoList[28]; pg = (int) PageInfoList[29]; index = (int) EAGArgsList[0]; AddAccount = (bool) EAGArgsList[1]; accessSwitch = (Access) EAGArgsList[2]; accountsMgmtSwitch = (bool) EAGArgsList[3]; systemConfigSwitch = (bool) EAGArgsList[4]; accountName = (string) EAGArgsList[5]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; ActiveTEBGTypeConfig = (BackgroundType) PersonalConfigList[2]; InactiveTEBGTypeConfig = (BackgroundType) PersonalConfigList[3]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; MessagesTextColor = (TextColor) PersonalConfigList[6]; CommandButtonsTextColor = (TextColor) PersonalConfigList[7]; PageNumberTextColor = (int) PersonalConfigList[8]; ActiveTextEntryTextColor = (int) PersonalConfigList[9]; InactiveTextEntryTextColor = (int) PersonalConfigList[10]; FlagTextColor = (TextColor) PersonalConfigList[14]; }
public static string GetTextColor( TextColor textColor ) { switch ( textColor ) { case TextColor.LightPurple:{ return TextColorLightPurple; } case TextColor.Purple:{ return TextColorPurple; } case TextColor.DarkPurple:{ return TextColorDarkPurple; } case TextColor.LightBlue:{ return TextColorLightBlue; } case TextColor.Blue:{ return TextColorBlue; } case TextColor.DarkBlue:{ return TextColorDarkBlue; } case TextColor.LightRed:{ return TextColorLightRed; } case TextColor.Red:{ return TextColorRed; } case TextColor.DarkRed:{ return TextColorDarkRed; } case TextColor.LightGreen:{ return TextColorLightGreen; } case TextColor.Green:{ return TextColorGreen; } case TextColor.DarkGreen:{ return TextColorDarkGreen; } case TextColor.LightYellow:{ return TextColorLightYellow; } case TextColor.Yellow:{ return TextColorYellow; } case TextColor.DarkYellow:{ return TextColorDarkYellow; } case TextColor.White:{ return TextColorWhite; } case TextColor.LightGray:{ return TextColorLightGray; } case TextColor.MediumLightGray:{ return TextColorMediumLightGray; } case TextColor.MediumGray:{ return TextColorMediumGray; } case TextColor.DarkGray:{ return TextColorDarkGray; } case TextColor.Black:{ return TextColorBlack; } } return TextColorPurple; }
private void GetArgsList() { MessagesTitle = (string) ArgsList[2]; Messages = (string) ArgsList[4]; HideSpawnerList = (ArrayList) ArgsList[6]; MSGCheckBoxesList = (ArrayList) ArgsList[13]; PersonalConfigList = (ArrayList) ArgsList[28]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; ActiveTEBGTypeConfig = (BackgroundType) PersonalConfigList[2]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; ActiveTextEntryTextColor = (int) PersonalConfigList[9]; }
private void GetArgsList() { MessagesTitle = (string) ArgsList[2]; Messages = (string) ArgsList[4]; HideSpawnerList = (ArrayList) ArgsList[6]; MSGCheckBoxesList = (ArrayList) ArgsList[13]; megaSpawner = (MegaSpawner) ArgsList[19]; fromSpawnerList = (bool) ArgsList[20]; PersonalConfigList = (ArrayList) ArgsList[28]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; }
private void GetArgsList() { Help = (bool) ArgsList[0]; DisplayMessages = (bool) ArgsList[1]; MessagesTitle = (string) ArgsList[2]; OldMessagesTitle = (string) ArgsList[3]; Messages = (string) ArgsList[4]; OldMessages = (string) ArgsList[5]; PageInfoList = (ArrayList) ArgsList[12]; ESGArgsList = (ArrayList) ArgsList[21]; AVSArgsList = (ArrayList) ArgsList[22]; PersonalConfigList = (ArrayList) ArgsList[28]; FromWhere = (FromGump) ArgsList[30]; SEGArgsList = (ArrayList) ArgsList[32]; cpg = (int) PageInfoList[22]; pg = (int) PageInfoList[23]; entryType = (string) ESGArgsList[6]; addItem = (string) AVSArgsList[23]; InsideItemList = (ArrayList) AVSArgsList[27]; insideIndex = (int) AVSArgsList[28]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; MessagesTextColor = (TextColor) PersonalConfigList[6]; CommandButtonsTextColor = (TextColor) PersonalConfigList[7]; PageNumberTextColor = (int) PersonalConfigList[8]; searchType = (SearchType) SEGArgsList[0]; SearchFor = (string) SEGArgsList[1]; }
private void GetArgsList() { Help = (bool) ArgsList[0]; DisplayMessages = (bool) ArgsList[1]; MessagesTitle = (string) ArgsList[2]; OldMessagesTitle = (string) ArgsList[3]; Messages = (string) ArgsList[4]; OldMessages = (string) ArgsList[5]; PageInfoList = (ArrayList) ArgsList[12]; SCGArgsList = (ArrayList) ArgsList[24]; SCGSetList = (ArrayList) ArgsList[25]; PersonalConfigList = (ArrayList) ArgsList[28]; cpg = (int) PageInfoList[24]; pg = (int) PageInfoList[25]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; MessagesTextColor = (TextColor) PersonalConfigList[6]; CommandButtonsTextColor = (TextColor) PersonalConfigList[7]; PageNumberTextColor = (int) PersonalConfigList[8]; }
private void GetArgsList() { Help = (bool) ArgsList[0]; DisplayMessages = (bool) ArgsList[1]; MessagesTitle = (string) ArgsList[2]; OldMessagesTitle = (string) ArgsList[3]; Messages = (string) ArgsList[4]; OldMessages = (string) ArgsList[5]; PageInfoList = (ArrayList) ArgsList[12]; PersonalConfigList = (ArrayList) ArgsList[28]; cpg = (int) PageInfoList[36]; pg = (int) PageInfoList[37]; StyleTypeConfig = (StyleType) PersonalConfigList[0]; BackgroundTypeConfig = (BackgroundType) PersonalConfigList[1]; ActiveTEBGTypeConfig = (BackgroundType) PersonalConfigList[2]; DefaultTextColor = (TextColor) PersonalConfigList[4]; TitleTextColor = (TextColor) PersonalConfigList[5]; MessagesTextColor = (TextColor) PersonalConfigList[6]; CommandButtonsTextColor = (TextColor) PersonalConfigList[7]; PageNumberTextColor = (int) PersonalConfigList[8]; ActiveTextEntryTextColor = (int) PersonalConfigList[9]; sortSearchFor = (string) PersonalConfigList[15]; sortSearchType = (SortSearchType) PersonalConfigList[16]; sortOrder = (SortOrder) PersonalConfigList[17]; sortType = (SortSearchType) PersonalConfigList[18]; sortSearchCaseSensitive = (bool) PersonalConfigList[19]; sortSearchFlagged = (bool) PersonalConfigList[20]; sortSearchBadLocation = (bool) PersonalConfigList[21]; sortSearchDupeSpawners = (bool) PersonalConfigList[22]; }