Struct PendingPartyInvitation
- Namespace
- FishMMO.Server.Core.World.SceneServer
- Assembly
- FishMMO.Server.dll
A party invitation the server is holding for one character.
public readonly struct PendingPartyInvitation
- Inherited Members
Remarks
The invitation used to be stored as a bare party ID, which meant an accept could only ever
say "yes" to whatever happened to be pending — there was no way to tell the invitation the
player was shown apart from the one that replaced it. Carrying the inviter and the issue
time lets the accept path prove the two are the same invitation. See
PendingGuildInvitation for the same reasoning on the guild side.
Constructors
PendingPartyInvitation(long, long, DateTime)
Initializes a new pending party invitation.
public PendingPartyInvitation(long partyID, long inviterCharacterID, DateTime issuedUtc)
Parameters
partyIDlongThe party the target was invited to.
inviterCharacterIDlongThe character who sent the invitation.
issuedUtcDateTimeWhen the invitation was issued (UTC).
Fields
InviterCharacterID
The character who sent the invitation.
public readonly long InviterCharacterID
Field Value
IssuedUtc
When the invitation was issued (UTC).
public readonly DateTime IssuedUtc
Field Value
PartyID
The party the target was invited to.
public readonly long PartyID