diff options
| author | historia <[not public]> | 2026-07-01 16:37:45 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-01 16:37:45 -0400 |
| commit | e6b4cb9f5816c6ee239233bc85f74ee446a161c2 (patch) | |
| tree | 1c3bf71c8b7f095baae989afe5e33183a7ed3929 /internal/net/server.go | |
| parent | 649ef4b7416ce7053145878841fc9b0bff2f5fec (diff) | |
| download | thehouseoficarus-e6b4cb9f5816c6ee239233bc85f74ee446a161c2.tar.gz | |
feat: shop system overhauled, gui conversation tree editor overhauled
Diffstat (limited to 'internal/net/server.go')
| -rw-r--r-- | internal/net/server.go | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/internal/net/server.go b/internal/net/server.go index d212dbf..11339d7 100644 --- a/internal/net/server.go +++ b/internal/net/server.go @@ -14,7 +14,6 @@ import ( "sync" "time" - "thehouseoficarus/internal/behavior" "thehouseoficarus/internal/color" "thehouseoficarus/internal/config" "thehouseoficarus/internal/player" @@ -47,7 +46,6 @@ const ( StateCraftProduct StateProductChoice StateColorChoice - StateShop StateBank StateHacking StateDangerConfirm @@ -68,7 +66,6 @@ type Session struct { PendingBackground bool Disconnecting bool DisconnectTicks int - Shop *behavior.ShopConfig PendingUndigDir string PendingUndigRoom int promptVisible bool @@ -76,14 +73,14 @@ type Session struct { } type Server struct { - config *config.Config - telnetLn net.Listener - telnetTLSLn net.Listener - httpServer *http.Server - httpsServer *http.Server + config *config.Config + telnetLn net.Listener + telnetTLSLn net.Listener + httpServer *http.Server + httpsServer *http.Server httpsTLSConfig *tls.Config - hub *Hub - handler func(*Session, string) + hub *Hub + handler func(*Session, string) } type Hub struct { |
