示例#1
0
        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();
        }
示例#2
0
        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;
            }
        }