Skip to content

Commit

Permalink
Merge pull request #78 from DaniElectra/gathering-flags
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbarrow authored Jun 28, 2024
2 parents 0fe0889 + 844f033 commit 33c0c11
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions match-making/gathering_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,24 @@
package protocol

type gatheringFlags struct {
DisconnectChangeOwner uint32 // TODO - Does this really only happen when a disconnect happens, or can the owner change at other times?
Unknown1 uint32
Unknown2 uint32
PersistentGathering uint32
DisconnectChangeOwner uint32
Unknown1 uint32
PersistentGatheringLeaveParticipation uint32
PersistentGatheringAllowZeroUsers uint32
ParticipantsChangeOwner uint32
VerboseParticipants uint32
VerboseParticipantsEx uint32
}

// GatheringFlags is an enum of the possible flags for a gathering
var GatheringFlags = gatheringFlags{
DisconnectChangeOwner: 0x10,
Unknown1: 0x20,
Unknown2: 0x200,
PersistentGathering: 0x1,
DisconnectChangeOwner: 0x10,
Unknown1: 0x20,
PersistentGatheringLeaveParticipation: 0x40,
PersistentGatheringAllowZeroUsers: 0x80,
ParticipantsChangeOwner: 0x200,
VerboseParticipants: 0x400,
VerboseParticipantsEx: 0x800,
}

0 comments on commit 33c0c11

Please sign in to comment.