Skip to content

Commit aa0fd22

Browse files
committed
Updated UserStatsResponse
1 parent 1cd41d6 commit aa0fd22

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
using System.Runtime.InteropServices;
22

3-
namespace SAM.API.Stats
3+
namespace SAM.API.Stats;
4+
5+
[StructLayout(LayoutKind.Sequential, Pack = 1)]
6+
public struct UserStatsResponse
47
{
5-
[StructLayout(LayoutKind.Sequential, Pack = 1)]
6-
public struct UserStatsResponse
7-
{
8-
public ulong GameId;
9-
public int Result;
8+
public ulong GameId;
9+
public int Result;
10+
public ulong SteamIdUser;
1011

11-
public bool IsSuccess => Result == 1;
12-
}
12+
public readonly bool IsSuccess => Result == 1;
1313
}

0 commit comments

Comments
 (0)