├── .gitignore ├── Dockerfile ├── README.md ├── admin ├── http_server.go ├── init.go └── metrics.go ├── center ├── game.go ├── init.go ├── msg_handler.go └── user.go ├── cmd ├── all │ └── main.go └── game │ └── main.go ├── conf └── constant.go ├── docker-compose.yml ├── game ├── game.go ├── gamemgr.go ├── init.go ├── msg_handler.go ├── user.go └── util.go ├── gate ├── init.go ├── msg_handler.go ├── route.go └── session.go ├── genproto.bat ├── go.mod ├── go.sum ├── logconfig └── log.go ├── manager └── id_generator.go ├── msg ├── cmsg │ ├── cmsg.pb.go │ └── cmsg.proto └── smsg │ ├── smsg.pb.go │ └── smsg.proto └── util ├── go.go ├── num.go ├── print.go ├── rand.go ├── string.go └── time.go /.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | .idea -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/README.md -------------------------------------------------------------------------------- /admin/http_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/admin/http_server.go -------------------------------------------------------------------------------- /admin/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/admin/init.go -------------------------------------------------------------------------------- /admin/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/admin/metrics.go -------------------------------------------------------------------------------- /center/game.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/center/game.go -------------------------------------------------------------------------------- /center/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/center/init.go -------------------------------------------------------------------------------- /center/msg_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/center/msg_handler.go -------------------------------------------------------------------------------- /center/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/center/user.go -------------------------------------------------------------------------------- /cmd/all/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/cmd/all/main.go -------------------------------------------------------------------------------- /cmd/game/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/cmd/game/main.go -------------------------------------------------------------------------------- /conf/constant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/conf/constant.go -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /game/game.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/game/game.go -------------------------------------------------------------------------------- /game/gamemgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/game/gamemgr.go -------------------------------------------------------------------------------- /game/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/game/init.go -------------------------------------------------------------------------------- /game/msg_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/game/msg_handler.go -------------------------------------------------------------------------------- /game/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/game/user.go -------------------------------------------------------------------------------- /game/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/game/util.go -------------------------------------------------------------------------------- /gate/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/gate/init.go -------------------------------------------------------------------------------- /gate/msg_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/gate/msg_handler.go -------------------------------------------------------------------------------- /gate/route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/gate/route.go -------------------------------------------------------------------------------- /gate/session.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/gate/session.go -------------------------------------------------------------------------------- /genproto.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/genproto.bat -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/go.sum -------------------------------------------------------------------------------- /logconfig/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/logconfig/log.go -------------------------------------------------------------------------------- /manager/id_generator.go: -------------------------------------------------------------------------------- 1 | package manager 2 | -------------------------------------------------------------------------------- /msg/cmsg/cmsg.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/msg/cmsg/cmsg.pb.go -------------------------------------------------------------------------------- /msg/cmsg/cmsg.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/msg/cmsg/cmsg.proto -------------------------------------------------------------------------------- /msg/smsg/smsg.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/msg/smsg/smsg.pb.go -------------------------------------------------------------------------------- /msg/smsg/smsg.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/msg/smsg/smsg.proto -------------------------------------------------------------------------------- /util/go.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/util/go.go -------------------------------------------------------------------------------- /util/num.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/util/num.go -------------------------------------------------------------------------------- /util/print.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/util/print.go -------------------------------------------------------------------------------- /util/rand.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/util/rand.go -------------------------------------------------------------------------------- /util/string.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/util/string.go -------------------------------------------------------------------------------- /util/time.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0990/avatar-fight-server/HEAD/util/time.go --------------------------------------------------------------------------------