mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-04-25 15:36:34 -05:00
Easier flag readability
This commit is contained in:
parent
0547153ecc
commit
cd29f36934
|
|
@ -11,7 +11,7 @@ func UpdatePreference(err error, client *nex.Client, callID uint32, showOnline b
|
|||
if !showCurrentGame {
|
||||
emptyPresence := nexproto.NewNintendoPresence()
|
||||
emptyPresence.GameKey = nexproto.NewGameKey()
|
||||
emptyPresence.ChangedFlags = 4294967295 // FF FF FF FF, All flags
|
||||
emptyPresence.ChangedFlags = 0xFFFFFFFF // All flags
|
||||
sendPresenceUpdateNotification(client, emptyPresence)
|
||||
}
|
||||
if !showOnline {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ func UpdatePresence(err error, client *nex.Client, callID uint32, presence *nexp
|
|||
if !showGame {
|
||||
currentPresence = nexproto.NewNintendoPresence()
|
||||
currentPresence.GameKey = nexproto.NewGameKey()
|
||||
currentPresence.ChangedFlags = 4294967295 // FF FF FF FF, All flags
|
||||
currentPresence.ChangedFlags = 0xFFFFFFFF // All flags
|
||||
}
|
||||
|
||||
go sendPresenceUpdateNotification(client, currentPresence)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user