Struct PlotAccessData
Plot access grant data transfer object.
public struct PlotAccessData
- Inherited Members
Remarks
Carries the permission mask as the integer the row stores rather than as a resolved set,
because this assembly cannot reference the shared types where PlotPermission lives.
Callers mask it through FishMMO.Shared.PlotAccess.Sanitize, which is also where a bit
this build does not recognise is dropped.
Constructors
PlotAccessData(long, long, long, int, long, DateTime)
public PlotAccessData(long id, long plotID, long characterID, int permissions, long grantedByCharacterID, DateTime timeGranted)
Parameters
Fields
CharacterID
The character granted access.
public readonly long CharacterID
Field Value
GrantedByCharacterID
Who granted it.
public readonly long GrantedByCharacterID
Field Value
ID
Primary key.
public readonly long ID
Field Value
Permissions
What they may do, as a permission bitmask.
public readonly int Permissions
Field Value
PlotID
The plot the grant is about.
public readonly long PlotID
Field Value
TimeGranted
When the grant was made or last changed (UTC).
public readonly DateTime TimeGranted