You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, character/player IDs and npc indexes are ints. It would be nice if they were strongly typed Id objects that represented a legal range of IDs.
publicstructCharacterId{intID{get;}publicCharacterId(intid): this(){if(id <= 0||id>short.MaxValue)thrownew ArgumentException($"ID must be between 1 and {short.MaxValue}");ID=id;}}
The text was updated successfully, but these errors were encountered:
Currently, character/player IDs and npc indexes are ints. It would be nice if they were strongly typed Id objects that represented a legal range of IDs.
The text was updated successfully, but these errors were encountered: