public GuiControls(GuiScreen par1GuiScreen, GameSettings par2GameSettings) { ScreenTitle = "Controls"; ButtonId = -1; ParentScreen = par1GuiScreen; Options = par2GameSettings; }
public GuiSelectWorld(GuiScreen par1GuiScreen) { ScreenTitle = "Select world"; Selected = false; LocalizedGameModeText = new string[2]; ParentScreen = par1GuiScreen; }
public GuiStats(GuiScreen par1GuiScreen, StatFileWriter par2StatFileWriter) { StatsTitle = "Select world"; SelectedSlot = null; ParentGui = par1GuiScreen; StatFileWriter = par2StatFileWriter; }
public GuiVideoSettings(GuiScreen par1GuiScreen, GameSettings par2GameSettings) { ScreenTitle = "Video Settings"; Is64bit = false; ParentGuiScreen = par1GuiScreen; GuiGameSettings = par2GameSettings; }
public GuiCreateWorld(GuiScreen par1GuiScreen) { GameMode = "survival"; Field_35365_g = true; Field_40232_h = false; Field_46030_z = 0; ParentGuiScreen = par1GuiScreen; Seed = ""; LocalizedNewWorldText = StatCollector.TranslateToLocal("selectWorld.newWorld"); }
public GuiMultiplayer(GuiScreen par1GuiScreen) { ServerList = new List <ServerNBTStorage>(); SelectedServer = -1; DeleteClicked = false; AddClicked = false; EditClicked = false; DirectClicked = false; LagTooltip = null; TempServer = null; ParentScreen = par1GuiScreen; }
public GuiRenameWorld(GuiScreen par1GuiScreen, string par2Str) { ParentGuiScreen = par1GuiScreen; WorldName = par2Str; }
public GuiScreenAddServer(GuiScreen par1GuiScreen, ServerNBTStorage par2ServerNBTStorage) { ParentGui = par1GuiScreen; ServerNBTStorage = par2ServerNBTStorage; }
public virtual bool Func_50037_a(int par1, int par2) { if (!Field_50043_m || !IsFocused) { return(false); } switch (par1) { case 1: Func_50038_e(); Func_50032_g(0); return(true); case 3: GuiScreen.WriteToClipboard(Func_50039_c()); return(true); case 22: Func_50031_b(GuiScreen.GetClipboardString()); return(true); case 24: GuiScreen.WriteToClipboard(Func_50039_c()); Func_50031_b(""); return(true); } switch (par2) { case 203: if (GuiScreen.Func_50049_m()) { if (GuiScreen.Func_50051_l()) { Func_50032_g(Func_50024_a(-1, Func_50036_k())); } else { Func_50032_g(Func_50036_k() - 1); } } else if (GuiScreen.Func_50051_l()) { Func_50030_e(Func_50028_c(-1)); } else { Func_50023_d(-1); } return(true); case 205: if (GuiScreen.Func_50049_m()) { if (GuiScreen.Func_50051_l()) { Func_50032_g(Func_50024_a(1, Func_50036_k())); } else { Func_50032_g(Func_50036_k() + 1); } } else if (GuiScreen.Func_50051_l()) { Func_50030_e(Func_50028_c(1)); } else { Func_50023_d(1); } return(true); case 14: if (GuiScreen.Func_50051_l()) { Func_50021_a(-1); } else { Func_50020_b(-1); } return(true); case 211: if (GuiScreen.Func_50051_l()) { Func_50021_a(1); } else { Func_50020_b(1); } return(true); case 199: if (GuiScreen.Func_50049_m()) { Func_50032_g(0); } else { Func_50034_d(); } return(true); case 207: if (GuiScreen.Func_50049_m()) { Func_50032_g(Text.Length); } else { Func_50038_e(); } return(true); } if (ChatAllowedCharacters.IsAllowedCharacter((char)par1)) { Func_50031_b(((char)par1).ToString()); return(true); } else { return(false); } }
public GuiTexturePacks(GuiScreen par1GuiScreen) { RefreshTimer = -1; FileLocation = ""; GuiScreen = par1GuiScreen; }
public GuiLanguage(GuiScreen par1GuiScreen, GameSettings par2GameSettings) { UpdateTimer = -1; ParentGui = par1GuiScreen; Field_44006_d = par2GameSettings; }
public GuiScreenServerList(GuiScreen par1GuiScreen, ServerNBTStorage par2ServerNBTStorage) { GuiScreen = par1GuiScreen; ServerListStorage = par2ServerNBTStorage; }
public GuiOptions(GuiScreen par1GuiScreen, GameSettings par2GameSettings) { ScreenTitle = "Options"; ParentScreen = par1GuiScreen; Settings = par2GameSettings; }