mirror of
https://github.com/kwsch/NHSE.git
synced 2026-04-01 06:24:39 -05:00
parent
70fe4834da
commit
6fbff26184
|
|
@ -119,7 +119,7 @@ public DesignPatternPRO Design
|
|||
public byte DIYEndHour { get => Data[0x129D1]; set => Data[0x129D1] = value; }
|
||||
public byte DIYEndMinute { get => Data[0x129D2]; set => Data[0x129D2] = value; }
|
||||
public byte DIYEndSecond { get => Data[0x129D3]; set => Data[0x129D3] = value; }
|
||||
public ushort DIYRecipeIndex { get => Data.Slice(0x129D4, sizeof(ushort)).ToStructure<ushort>(); set => value.ToBytes().CopyTo(Data, 0x129D4); }
|
||||
public ushort DIYRecipeIndex { get => BitConverter.ToUInt16(Data, 0x129D4); set => BitConverter.GetBytes(value).CopyTo(Data, 0x129D4); }
|
||||
|
||||
public void SetFriendshipAll(byte value = byte.MaxValue)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ public DesignPatternPRO Design
|
|||
public byte DIYEndHour { get => Data[0x13151]; set => Data[0x13151] = value; }
|
||||
public byte DIYEndMinute { get => Data[0x13152]; set => Data[0x13152] = value; }
|
||||
public byte DIYEndSecond { get => Data[0x13153]; set => Data[0x13153] = value; }
|
||||
public ushort DIYRecipeIndex { get => Data.Slice(0x13154, sizeof(ushort)).ToStructure<ushort>(); set => value.ToBytes().CopyTo(Data, 0x13154); }
|
||||
public ushort DIYRecipeIndex { get => BitConverter.ToUInt16(Data, 0x13154); set => BitConverter.GetBytes(value).CopyTo(Data, 0x13154); }
|
||||
|
||||
public void SetFriendshipAll(byte value = byte.MaxValue)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
using NHSE.Core;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace NHSE.WinForms
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user