mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-19 17:55:16 +00:00
71bb96bf1e
Changes: - Moved alias mapping from Constants.cs to Stages.cs. - Added `odyssey` as an alias. - Hardcoded all known stage values. - Verfify that the stage input is either a alias or a known stage name. - Added an option to append `!` to a stage name to force sending even if the stage is not known (e.g. for custom kingdoms). Before it only checked that it was a known alias or that it contained `Stage` or `Zone`. That made it impossible to send players to`MoonWorldShopRoom` and `MoonWorldSphinxRoom`. And a typo would have resulted in a game crash. |
||
---|---|---|
.. | ||
Packet | ||
Constants.cs | ||
Extensions.cs | ||
Logger.cs | ||
Shared.csproj | ||
Stages.cs |