Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

Commit 5062525

Browse files
committed
start for UPC_StoreProduct stuff
1 parent a639a31 commit 5062525

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

Dll/upc_r2/Enums.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,4 @@ public enum UPC_AvatarSize : uint
221221
UPC_AvatarSize_64x64,
222222
UPC_AvatarSize_128x128,
223223
UPC_AvatarSize_256x256
224-
}
224+
}

Dll/upc_r2/Structures.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,4 +253,22 @@ public ChunkId()
253253
IsInstalled = 1;
254254
Tag = string.Empty;
255255
}
256+
}
257+
258+
[StructLayout(LayoutKind.Sequential)]
259+
public class UPC_StoreProduct
260+
{
261+
public uint id;
262+
public string titleUtf8;
263+
public string descriptionUtf8;
264+
[MarshalAs(UnmanagedType.LPUTF8Str)]
265+
public string imageUrlUtf8;
266+
public byte isOwned;
267+
public float price;
268+
public float priceOriginal;
269+
[MarshalAs(UnmanagedType.LPUTF8Str)]
270+
public string currencyUtf8;
271+
[MarshalAs(UnmanagedType.LPUTF8Str)]
272+
public string userBlobUtf8 = string.Empty;
273+
public UPC_StoreTag[] tags ;
256274
}

0 commit comments

Comments
 (0)