public PlayerInformationMenu(long playerUniqueMultiplayerId, IModHelper helper) : base(Xposition, Yposition, Width, Height, true) { PlayerId = playerUniqueMultiplayerId; _helper = helper; this._helper.Events.Display.WindowResized += Resize; _configOptions = ConfigHelper.GetOptions(); }
public PlayerInformationMenu(long playerUniqueMultiplayerId, IModHelper helper) : base(Xposition, Yposition, Width, Height, true) { PlayerId = playerUniqueMultiplayerId; _helper = helper; GraphicsEvents.Resize += Resize; _configOptions = ConfigHelper.GetOptions(); if (!_configOptions.ShowInventory) { this.height -= 200; } }