Anna Clemens
8941d2f8da
Prevent changing layouts while the Character Configuration window is open. Also fix visibility to show both keyboard and gamepad checkboxes.
29 lines
683 B
C#
Executable File
29 lines
683 B
C#
Executable File
namespace HUD_Manager.Structs.Options {
|
|
public class HotbarOptions {
|
|
private readonly byte[] _options;
|
|
|
|
public byte Index {
|
|
get => this._options[0];
|
|
set => this._options[0] = value;
|
|
}
|
|
|
|
public HotbarLayout Layout {
|
|
get => (HotbarLayout) this._options[1];
|
|
set => this._options[1] = (byte) value;
|
|
}
|
|
|
|
public HotbarOptions(byte[] options) {
|
|
this._options = options;
|
|
}
|
|
}
|
|
|
|
public enum HotbarLayout : byte {
|
|
TwelveByOne = 1,
|
|
SixByTwo = 2,
|
|
FourByThree = 3,
|
|
ThreeByFour = 4,
|
|
TwoBySix = 5,
|
|
OneByTwelve = 6,
|
|
}
|
|
}
|