[Dedicated] Set friends you played with
This commit is contained in:
parent
086468ee23
commit
62200ebb9b
@ -222,6 +222,11 @@ namespace Components
|
|||||||
{
|
{
|
||||||
Dedicated::PlayerGuids[client][0].Bits = strtoull(params.get(2 * client + 1), nullptr, 16);
|
Dedicated::PlayerGuids[client][0].Bits = strtoull(params.get(2 * client + 1), nullptr, 16);
|
||||||
Dedicated::PlayerGuids[client][1].Bits = strtoull(params.get(2 * client + 2), nullptr, 16);
|
Dedicated::PlayerGuids[client][1].Bits = strtoull(params.get(2 * client + 2), nullptr, 16);
|
||||||
|
|
||||||
|
if(Steam::Proxy::SteamFriends)
|
||||||
|
{
|
||||||
|
Steam::Proxy::SteamFriends->SetPlayedWith(Dedicated::PlayerGuids[client][1]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user