update:更新tysdk 默认修改

This commit is contained in:
2026-05-14 11:53:38 +08:00
parent 49d80ee008
commit eecf54c6a4
6 changed files with 199 additions and 71 deletions

View File

@@ -26,6 +26,12 @@ namespace tysdk
public bool verified;
// Server-side order ID returned from verification
public string serverOrderId;
// Player ID for server-side verification
public string userId;
public bool Check(string orderId, string productId)
{
confirmed = orderId == this.orderId && productId == this.productId;