Skip to content

Commit f580186

Browse files
Mikkel Sørensenkirre-bylund
authored andcommitted
Updated every session to return player name
1 parent e4606e4 commit f580186

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Runtime/Game/Requests/LootLockerSessionRequest.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ public LootLockerWhiteLabelSessionRequest()
4646
[Serializable]
4747
public class LootLockerSessionResponse : LootLockerResponse
4848
{
49+
/// <summary>
50+
/// The player's name if it has been set by using SetPlayerName().
51+
/// </summary>
52+
public string player_name { get; set; }
4953
/// <summary>
5054
/// The session token that can now be used to use further LootLocker functionality. We store and use this for you.
5155
/// </summary>
@@ -102,7 +106,6 @@ public class LootLockerSessionResponse : LootLockerResponse
102106

103107
public class LootLockerGuestSessionResponse : LootLockerSessionResponse
104108
{
105-
public string player_name { get; set; }
106109
public string player_identifier { get; set; }
107110
}
108111

@@ -123,7 +126,6 @@ public class LootLockerAppleSessionResponse : LootLockerSessionResponse
123126
[System.Serializable]
124127
public class LootLockerAppleGameCenterSessionResponse : LootLockerSessionResponse
125128
{
126-
public string player_name { get; set; }
127129
public string refresh_token { get; set; }
128130
}
129131

0 commit comments

Comments
 (0)