Table of Contents

Enum AccessLevel

Namespace
FishMMO.Auth.Core
Assembly
FishMMO-AuthShared.dll

Account and character access levels. Values must stay in sync with FishMMO.Database.Data.Enums.AccessLevel.

WARNING: If you add, remove, or reorder a value here you MUST update the corresponding enum in the database layer and run a migration. Consider adding a unit test that asserts every member of this enum matches the database enum (e.g. via a SELECT DISTINCT query or a checked-in mapping file) so the mismatch is caught at CI time rather than at runtime.

public enum AccessLevel : byte

Fields

Admin = 3

Administrator access.

Banned = 0

Banned user - no access.

GameMaster = 2

Game master access.

Player = 1

Normal player access.