[Maintenance PR for Legacy Gamedevs] Add party privacy enum (#306)
* Add party privacy enum * Add party privacy enum * Possible unreal working * Cast to int
This commit is contained in:
@ -31,6 +31,11 @@ public class DiscordController : MonoBehaviour
|
||||
clickCounter++;
|
||||
|
||||
presence.details = string.Format("Button clicked {0} times", clickCounter);
|
||||
presence.joinSecret = "aSecret";
|
||||
presence.partyId = "aPartyId";
|
||||
presence.partySize = 1;
|
||||
presence.partyMax = 3;
|
||||
presence.partyPrivacy = DiscordRpc.PartyPrivacy.Public;
|
||||
|
||||
DiscordRpc.UpdatePresence(presence);
|
||||
}
|
||||
|
Reference in New Issue
Block a user