Skip to content

Commit 72bbb68

Browse files
committed
fix: Updated broadcasts and added optionals
1 parent 01b9f3b commit 72bbb68

File tree

5 files changed

+297
-96
lines changed

5 files changed

+297
-96
lines changed

Runtime/Client/LootLockerHTTPClient.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ private IEnumerator RefreshSession(string refreshForPlayerUlid, string forExecut
590590
{
591591
newSessionResponse = response;
592592
callCompleted = true;
593-
});
593+
}, playerData.SessionOptionals);
594594
}
595595
break;
596596
case LL_AuthPlatforms.WhiteLabel:
@@ -599,7 +599,7 @@ private IEnumerator RefreshSession(string refreshForPlayerUlid, string forExecut
599599
{
600600
newSessionResponse = response;
601601
callCompleted = true;
602-
}, playerData.ULID);
602+
}, playerData.ULID, playerData.SessionOptionals);
603603
}
604604
break;
605605
case LL_AuthPlatforms.AppleGameCenter:
@@ -608,7 +608,7 @@ private IEnumerator RefreshSession(string refreshForPlayerUlid, string forExecut
608608
{
609609
newSessionResponse = response;
610610
callCompleted = true;
611-
}, refreshForPlayerUlid);
611+
}, refreshForPlayerUlid, playerData.SessionOptionals);
612612
}
613613
break;
614614
case LL_AuthPlatforms.AppleSignIn:
@@ -617,7 +617,7 @@ private IEnumerator RefreshSession(string refreshForPlayerUlid, string forExecut
617617
{
618618
newSessionResponse = response;
619619
callCompleted = true;
620-
}, refreshForPlayerUlid);
620+
}, refreshForPlayerUlid, playerData.SessionOptionals);
621621
}
622622
break;
623623
case LL_AuthPlatforms.Epic:
@@ -626,7 +626,7 @@ private IEnumerator RefreshSession(string refreshForPlayerUlid, string forExecut
626626
{
627627
newSessionResponse = response;
628628
callCompleted = true;
629-
}, refreshForPlayerUlid);
629+
}, refreshForPlayerUlid, playerData.SessionOptionals);
630630
}
631631
break;
632632
case LL_AuthPlatforms.Google:
@@ -635,7 +635,7 @@ private IEnumerator RefreshSession(string refreshForPlayerUlid, string forExecut
635635
{
636636
newSessionResponse = response;
637637
callCompleted = true;
638-
}, refreshForPlayerUlid);
638+
}, refreshForPlayerUlid, playerData.SessionOptionals);
639639
}
640640
break;
641641
case LL_AuthPlatforms.Remote:
@@ -655,7 +655,7 @@ private IEnumerator RefreshSession(string refreshForPlayerUlid, string forExecut
655655
{
656656
newSessionResponse = response;
657657
callCompleted = true;
658-
});
658+
}, playerData.SessionOptionals);
659659
}
660660
break;
661661
case LL_AuthPlatforms.NintendoSwitch:

Runtime/Client/LootLockerPlayerData.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,9 @@ public class LootLockerPlayerData
5757
/// The id of the wallet for this player
5858
/// </summary>
5959
public string WalletID { get; set; }
60+
/// <summary>
61+
/// Optional parameters used when starting/refreshing a session
62+
/// </summary>
63+
public LootLockerSessionOptionals SessionOptionals { get; set; } = new LootLockerSessionOptionals();
6064
}
6165
}

0 commit comments

Comments
 (0)