mirror of
https://github.com/kwsch/pkNX.git
synced 2026-10-01 05:37:29 -05:00
Update Item8.cs
This commit is contained in:
@@ -16,20 +16,20 @@ public Item8(int id, byte[] data)
|
||||
|
||||
public int Price
|
||||
{
|
||||
get => BitConverter.ToInt16(Data, 0x00);
|
||||
set => BitConverter.GetBytes((ushort)value).CopyTo(Data, 0x00);
|
||||
get => BitConverter.ToUInt16(Data, 0x00);
|
||||
set => BitConverter.GetBytes(value).CopyTo(Data, 0x00);
|
||||
}
|
||||
|
||||
public int PriceWatts
|
||||
{
|
||||
get => BitConverter.ToInt16(Data, 0x04);
|
||||
set => BitConverter.GetBytes((ushort)value).CopyTo(Data, 0x04);
|
||||
get => BitConverter.ToUInt16(Data, 0x04);
|
||||
set => BitConverter.GetBytes(value).CopyTo(Data, 0x04);
|
||||
}
|
||||
|
||||
public int PriceAlternate // BP, Dynite Ore
|
||||
{
|
||||
get => BitConverter.ToInt16(Data, 0x08);
|
||||
set => BitConverter.GetBytes((ushort)value).CopyTo(Data, 0x08);
|
||||
get => BitConverter.ToUInt16(Data, 0x08);
|
||||
set => BitConverter.GetBytes(value).CopyTo(Data, 0x08);
|
||||
}
|
||||
|
||||
public PouchID Pouch
|
||||
|
||||
Reference in New Issue
Block a user