Add chat type checks based on existing comments

Add basic support for clients reserving stages
Remove unnecessary packets
Add max player count to stages
This commit is contained in:
Sophie
2020-03-07 17:30:07 +00:00
parent 795028a1ca
commit b526e66821
3 changed files with 63 additions and 49 deletions

View File

@@ -22,10 +22,11 @@ type Session struct {
cryptConn *network.CryptConn
sendPackets chan []byte
stageID string
stage *Stage
charID uint32
logKey []byte
stageID string
stage *Stage
reserveStage *Stage
charID uint32
logKey []byte
// A stack containing the stage movement history (push on enter/move, pop on back)
stageMoveStack *stringstack.StringStack