public TownFolkMenuSelect(TownFolkMenuItem selection, uint uid, uint unknown9) : base(Build(selection, uid, unknown9)) { this.selection = selection; this.uid = uid; }
public static byte[] Build(TownFolkMenuItem selection, uint uid, uint unknown9) { return new byte[] { 0x38, ((byte) selection), ((byte) (((int) selection) >> 8)), ((byte) (((int) selection) >> 0x10)), ((byte) (((int) selection) >> 0x18)), ((byte) uid), ((byte) (uid >> 8)), ((byte) (uid >> 0x10)), ((byte) (uid >> 0x18)), ((byte) unknown9), ((byte) (unknown9 >> 8)), ((byte) (unknown9 >> 0x10)), ((byte) (unknown9 >> 0x18)) }; }
// Methods public TownFolkMenuSelect(byte[] data) : base(data) { this.selection = (TownFolkMenuItem) BitConverter.ToUInt32(data, 1); this.uid = BitConverter.ToUInt32(data, 5); }