├── .gitignore ├── .idea ├── misc.xml ├── modules.xml ├── slgserver.iml └── vcs.xml ├── Dockerfile-chat ├── Dockerfile-gate ├── Dockerfile-http ├── Dockerfile-login ├── Dockerfile-mysql ├── Dockerfile-slg ├── LICENSE ├── README.md ├── config ├── config.go ├── reload_unix.go └── reload_windows.go ├── constant └── code.go ├── data └── conf │ ├── db.sql │ ├── env.ini │ ├── json │ ├── basic.json │ ├── facility │ │ ├── facility.json │ │ ├── facility_addition.json │ │ ├── facility_army_jfy.json │ │ ├── facility_army_jjy.json │ │ ├── facility_army_swy.json │ │ ├── facility_army_tby.json │ │ ├── facility_barrack_by.json │ │ ├── facility_barrack_yby.json │ │ ├── facility_camp_han.json │ │ ├── facility_camp_qun.json │ │ ├── facility_camp_shu.json │ │ ├── facility_camp_wei.json │ │ ├── facility_camp_wu.json │ │ ├── facility_city.json │ │ ├── facility_fct.json │ │ ├── facility_general_jc.json │ │ ├── facility_general_tst.json │ │ ├── facility_market.json │ │ ├── facility_mbs.json │ │ ├── facility_produce_csc.json │ │ ├── facility_produce_fmc.json │ │ ├── facility_produce_ltc.json │ │ ├── facility_produce_mf.json │ │ ├── facility_produce_mj.json │ │ ├── facility_sjt.json │ │ ├── facility_wall_cq.json │ │ ├── facility_wall_nq.json │ │ └── facility_warehouse.json │ ├── general │ │ ├── general.json │ │ ├── general_arms.json │ │ └── general_basic.json │ ├── map_build.json │ ├── map_build_custom.json │ ├── npc │ │ └── npc_army.json │ └── skill │ │ ├── beidong │ │ └── baizhanjingbing.json │ │ ├── skill_outline.json │ │ ├── zhihui │ │ └── fengshi.json │ │ ├── zhudong │ │ └── tuji.json │ │ └── zuiji │ │ └── zhongzhan.json │ └── mapRes_0.json ├── db └── conn.go ├── docker-compose.yaml ├── go.mod ├── go.sum ├── img ├── 01.png ├── 02.png ├── 03.png ├── 04.png ├── 05.png ├── 06.png ├── 07.png ├── 08.png ├── 09.png ├── 10.png ├── 11.png ├── 12.png ├── 13.png └── 14.png ├── log └── log.go ├── main ├── chatserver.go ├── gateserver.go ├── httpserver.go ├── loginserver.go ├── slgserver.go └── wstest.go ├── middleware ├── check_login.go ├── check_rid.go ├── check_role.go ├── elapsed_time.go └── log.go ├── net ├── clientconn.go ├── conn.go ├── connMgr.go ├── proxyClient.go ├── router.go ├── server.go └── serverconn.go ├── server ├── chatserver │ ├── controller │ │ └── chat.go │ ├── init.go │ ├── logic │ │ ├── entity.go │ │ ├── group.go │ │ └── queue.go │ └── proto │ │ └── chat.go ├── gateserver │ ├── controller │ │ └── handle.go │ └── init.go ├── httpserver │ ├── controller │ │ └── account.go │ ├── logic │ │ └── account.go │ ├── middleware │ │ └── cors.go │ └── myerror.go ├── loginserver │ ├── controller │ │ └── account.go │ ├── init.go │ ├── model │ │ ├── login.go │ │ └── user.go │ └── proto │ │ └── account.go └── slgserver │ ├── ILogic │ └── IArmyLogic.go │ ├── conn │ └── push_sync.go │ ├── controller │ ├── army.go │ ├── city.go │ ├── coalition.go │ ├── general.go │ ├── interior.go │ ├── nation_map.go │ ├── role.go │ ├── skill.go │ └── war.go │ ├── global │ └── global.go │ ├── logic │ ├── army │ │ ├── army_logic.go │ │ ├── sys_army_logic.go │ │ └── view.go │ ├── check │ │ └── check_build.go │ ├── init.go │ ├── mgr │ │ ├── army_mgr.go │ │ ├── city_facility_mgr.go │ │ ├── coalition_mgr.go │ │ ├── general_mgr.go │ │ ├── national_map_mgr.go │ │ ├── role_attribute_mgr.go │ │ ├── role_build_mgr.go │ │ ├── role_city_mgr.go │ │ ├── role_mgr.go │ │ ├── role_res_mgr.go │ │ └── skill_mgr.go │ ├── union │ │ └── union_logic.go │ └── war │ │ ├── armyPosition.go │ │ ├── army_war.go │ │ ├── warCamp.go │ │ └── warResult.go │ ├── model │ ├── army.go │ ├── city_facility.go │ ├── coalition.go │ ├── general.go │ ├── map_role_build.go │ ├── map_role_city.go │ ├── national_map.go │ ├── role.go │ ├── role_attribute.go │ ├── role_res.go │ ├── skill.go │ ├── util.go │ └── war_report.go │ ├── pos │ └── position.go │ ├── proto │ ├── city.go │ ├── coalition.go │ ├── general.go │ ├── interior.go │ ├── nation_map.go │ ├── role.go │ ├── skill.go │ └── war.go │ ├── run │ └── init.go │ └── static_conf │ ├── basic.go │ ├── const.go │ ├── facility │ ├── facility.go │ ├── facility_addition.go │ └── facility_conf.go │ ├── general │ ├── general.go │ ├── general_arms.go │ └── general_basic.go │ ├── map_build.go │ ├── map_build_custom.go │ ├── npc │ └── npc_army.go │ └── skill │ ├── skill.go │ ├── skill_conf.go │ └── skill_outline.go ├── shell ├── build.bat ├── copydata.bat ├── kill.bat └── run.bat └── util ├── crypto.go ├── math.go ├── msgpack.go ├── random.go └── session.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/slgserver.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/.idea/slgserver.iml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /Dockerfile-chat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/Dockerfile-chat -------------------------------------------------------------------------------- /Dockerfile-gate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/Dockerfile-gate -------------------------------------------------------------------------------- /Dockerfile-http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/Dockerfile-http -------------------------------------------------------------------------------- /Dockerfile-login: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/Dockerfile-login -------------------------------------------------------------------------------- /Dockerfile-mysql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/Dockerfile-mysql -------------------------------------------------------------------------------- /Dockerfile-slg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/Dockerfile-slg -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/README.md -------------------------------------------------------------------------------- /config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/config/config.go -------------------------------------------------------------------------------- /config/reload_unix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/config/reload_unix.go -------------------------------------------------------------------------------- /config/reload_windows.go: -------------------------------------------------------------------------------- 1 | package config 2 | 3 | func signalReload() { 4 | } 5 | -------------------------------------------------------------------------------- /constant/code.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/constant/code.go -------------------------------------------------------------------------------- /data/conf/db.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/db.sql -------------------------------------------------------------------------------- /data/conf/env.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/env.ini -------------------------------------------------------------------------------- /data/conf/json/basic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/basic.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_addition.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_addition.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_army_jfy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_army_jfy.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_army_jjy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_army_jjy.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_army_swy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_army_swy.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_army_tby.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_army_tby.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_barrack_by.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_barrack_by.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_barrack_yby.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_barrack_yby.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_camp_han.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_camp_han.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_camp_qun.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_camp_qun.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_camp_shu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_camp_shu.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_camp_wei.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_camp_wei.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_camp_wu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_camp_wu.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_city.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_city.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_fct.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_fct.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_general_jc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_general_jc.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_general_tst.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_general_tst.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_market.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_market.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_mbs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_mbs.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_produce_csc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_produce_csc.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_produce_fmc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_produce_fmc.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_produce_ltc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_produce_ltc.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_produce_mf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_produce_mf.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_produce_mj.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_produce_mj.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_sjt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_sjt.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_wall_cq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_wall_cq.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_wall_nq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_wall_nq.json -------------------------------------------------------------------------------- /data/conf/json/facility/facility_warehouse.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/facility/facility_warehouse.json -------------------------------------------------------------------------------- /data/conf/json/general/general.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/general/general.json -------------------------------------------------------------------------------- /data/conf/json/general/general_arms.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/general/general_arms.json -------------------------------------------------------------------------------- /data/conf/json/general/general_basic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/general/general_basic.json -------------------------------------------------------------------------------- /data/conf/json/map_build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/map_build.json -------------------------------------------------------------------------------- /data/conf/json/map_build_custom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/map_build_custom.json -------------------------------------------------------------------------------- /data/conf/json/npc/npc_army.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/npc/npc_army.json -------------------------------------------------------------------------------- /data/conf/json/skill/beidong/baizhanjingbing.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/skill/beidong/baizhanjingbing.json -------------------------------------------------------------------------------- /data/conf/json/skill/skill_outline.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/skill/skill_outline.json -------------------------------------------------------------------------------- /data/conf/json/skill/zhihui/fengshi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/skill/zhihui/fengshi.json -------------------------------------------------------------------------------- /data/conf/json/skill/zhudong/tuji.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/skill/zhudong/tuji.json -------------------------------------------------------------------------------- /data/conf/json/skill/zuiji/zhongzhan.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/json/skill/zuiji/zhongzhan.json -------------------------------------------------------------------------------- /data/conf/mapRes_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/data/conf/mapRes_0.json -------------------------------------------------------------------------------- /db/conn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/db/conn.go -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/go.sum -------------------------------------------------------------------------------- /img/01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/01.png -------------------------------------------------------------------------------- /img/02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/02.png -------------------------------------------------------------------------------- /img/03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/03.png -------------------------------------------------------------------------------- /img/04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/04.png -------------------------------------------------------------------------------- /img/05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/05.png -------------------------------------------------------------------------------- /img/06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/06.png -------------------------------------------------------------------------------- /img/07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/07.png -------------------------------------------------------------------------------- /img/08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/08.png -------------------------------------------------------------------------------- /img/09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/09.png -------------------------------------------------------------------------------- /img/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/10.png -------------------------------------------------------------------------------- /img/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/11.png -------------------------------------------------------------------------------- /img/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/12.png -------------------------------------------------------------------------------- /img/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/13.png -------------------------------------------------------------------------------- /img/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/img/14.png -------------------------------------------------------------------------------- /log/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/log/log.go -------------------------------------------------------------------------------- /main/chatserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/main/chatserver.go -------------------------------------------------------------------------------- /main/gateserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/main/gateserver.go -------------------------------------------------------------------------------- /main/httpserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/main/httpserver.go -------------------------------------------------------------------------------- /main/loginserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/main/loginserver.go -------------------------------------------------------------------------------- /main/slgserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/main/slgserver.go -------------------------------------------------------------------------------- /main/wstest.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/main/wstest.go -------------------------------------------------------------------------------- /middleware/check_login.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/middleware/check_login.go -------------------------------------------------------------------------------- /middleware/check_rid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/middleware/check_rid.go -------------------------------------------------------------------------------- /middleware/check_role.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/middleware/check_role.go -------------------------------------------------------------------------------- /middleware/elapsed_time.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/middleware/elapsed_time.go -------------------------------------------------------------------------------- /middleware/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/middleware/log.go -------------------------------------------------------------------------------- /net/clientconn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/net/clientconn.go -------------------------------------------------------------------------------- /net/conn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/net/conn.go -------------------------------------------------------------------------------- /net/connMgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/net/connMgr.go -------------------------------------------------------------------------------- /net/proxyClient.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/net/proxyClient.go -------------------------------------------------------------------------------- /net/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/net/router.go -------------------------------------------------------------------------------- /net/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/net/server.go -------------------------------------------------------------------------------- /net/serverconn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/net/serverconn.go -------------------------------------------------------------------------------- /server/chatserver/controller/chat.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/chatserver/controller/chat.go -------------------------------------------------------------------------------- /server/chatserver/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/chatserver/init.go -------------------------------------------------------------------------------- /server/chatserver/logic/entity.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/chatserver/logic/entity.go -------------------------------------------------------------------------------- /server/chatserver/logic/group.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/chatserver/logic/group.go -------------------------------------------------------------------------------- /server/chatserver/logic/queue.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/chatserver/logic/queue.go -------------------------------------------------------------------------------- /server/chatserver/proto/chat.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/chatserver/proto/chat.go -------------------------------------------------------------------------------- /server/gateserver/controller/handle.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/gateserver/controller/handle.go -------------------------------------------------------------------------------- /server/gateserver/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/gateserver/init.go -------------------------------------------------------------------------------- /server/httpserver/controller/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/httpserver/controller/account.go -------------------------------------------------------------------------------- /server/httpserver/logic/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/httpserver/logic/account.go -------------------------------------------------------------------------------- /server/httpserver/middleware/cors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/httpserver/middleware/cors.go -------------------------------------------------------------------------------- /server/httpserver/myerror.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/httpserver/myerror.go -------------------------------------------------------------------------------- /server/loginserver/controller/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/loginserver/controller/account.go -------------------------------------------------------------------------------- /server/loginserver/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/loginserver/init.go -------------------------------------------------------------------------------- /server/loginserver/model/login.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/loginserver/model/login.go -------------------------------------------------------------------------------- /server/loginserver/model/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/loginserver/model/user.go -------------------------------------------------------------------------------- /server/loginserver/proto/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/loginserver/proto/account.go -------------------------------------------------------------------------------- /server/slgserver/ILogic/IArmyLogic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/ILogic/IArmyLogic.go -------------------------------------------------------------------------------- /server/slgserver/conn/push_sync.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/conn/push_sync.go -------------------------------------------------------------------------------- /server/slgserver/controller/army.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/controller/army.go -------------------------------------------------------------------------------- /server/slgserver/controller/city.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/controller/city.go -------------------------------------------------------------------------------- /server/slgserver/controller/coalition.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/controller/coalition.go -------------------------------------------------------------------------------- /server/slgserver/controller/general.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/controller/general.go -------------------------------------------------------------------------------- /server/slgserver/controller/interior.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/controller/interior.go -------------------------------------------------------------------------------- /server/slgserver/controller/nation_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/controller/nation_map.go -------------------------------------------------------------------------------- /server/slgserver/controller/role.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/controller/role.go -------------------------------------------------------------------------------- /server/slgserver/controller/skill.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/controller/skill.go -------------------------------------------------------------------------------- /server/slgserver/controller/war.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/controller/war.go -------------------------------------------------------------------------------- /server/slgserver/global/global.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/global/global.go -------------------------------------------------------------------------------- /server/slgserver/logic/army/army_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/army/army_logic.go -------------------------------------------------------------------------------- /server/slgserver/logic/army/sys_army_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/army/sys_army_logic.go -------------------------------------------------------------------------------- /server/slgserver/logic/army/view.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/army/view.go -------------------------------------------------------------------------------- /server/slgserver/logic/check/check_build.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/check/check_build.go -------------------------------------------------------------------------------- /server/slgserver/logic/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/init.go -------------------------------------------------------------------------------- /server/slgserver/logic/mgr/army_mgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/mgr/army_mgr.go -------------------------------------------------------------------------------- /server/slgserver/logic/mgr/city_facility_mgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/mgr/city_facility_mgr.go -------------------------------------------------------------------------------- /server/slgserver/logic/mgr/coalition_mgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/mgr/coalition_mgr.go -------------------------------------------------------------------------------- /server/slgserver/logic/mgr/general_mgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/mgr/general_mgr.go -------------------------------------------------------------------------------- /server/slgserver/logic/mgr/national_map_mgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/mgr/national_map_mgr.go -------------------------------------------------------------------------------- /server/slgserver/logic/mgr/role_attribute_mgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/mgr/role_attribute_mgr.go -------------------------------------------------------------------------------- /server/slgserver/logic/mgr/role_build_mgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/mgr/role_build_mgr.go -------------------------------------------------------------------------------- /server/slgserver/logic/mgr/role_city_mgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/mgr/role_city_mgr.go -------------------------------------------------------------------------------- /server/slgserver/logic/mgr/role_mgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/mgr/role_mgr.go -------------------------------------------------------------------------------- /server/slgserver/logic/mgr/role_res_mgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/mgr/role_res_mgr.go -------------------------------------------------------------------------------- /server/slgserver/logic/mgr/skill_mgr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/mgr/skill_mgr.go -------------------------------------------------------------------------------- /server/slgserver/logic/union/union_logic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/union/union_logic.go -------------------------------------------------------------------------------- /server/slgserver/logic/war/armyPosition.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/war/armyPosition.go -------------------------------------------------------------------------------- /server/slgserver/logic/war/army_war.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/war/army_war.go -------------------------------------------------------------------------------- /server/slgserver/logic/war/warCamp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/war/warCamp.go -------------------------------------------------------------------------------- /server/slgserver/logic/war/warResult.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/logic/war/warResult.go -------------------------------------------------------------------------------- /server/slgserver/model/army.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/army.go -------------------------------------------------------------------------------- /server/slgserver/model/city_facility.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/city_facility.go -------------------------------------------------------------------------------- /server/slgserver/model/coalition.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/coalition.go -------------------------------------------------------------------------------- /server/slgserver/model/general.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/general.go -------------------------------------------------------------------------------- /server/slgserver/model/map_role_build.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/map_role_build.go -------------------------------------------------------------------------------- /server/slgserver/model/map_role_city.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/map_role_city.go -------------------------------------------------------------------------------- /server/slgserver/model/national_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/national_map.go -------------------------------------------------------------------------------- /server/slgserver/model/role.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/role.go -------------------------------------------------------------------------------- /server/slgserver/model/role_attribute.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/role_attribute.go -------------------------------------------------------------------------------- /server/slgserver/model/role_res.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/role_res.go -------------------------------------------------------------------------------- /server/slgserver/model/skill.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/skill.go -------------------------------------------------------------------------------- /server/slgserver/model/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/util.go -------------------------------------------------------------------------------- /server/slgserver/model/war_report.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/model/war_report.go -------------------------------------------------------------------------------- /server/slgserver/pos/position.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/pos/position.go -------------------------------------------------------------------------------- /server/slgserver/proto/city.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/proto/city.go -------------------------------------------------------------------------------- /server/slgserver/proto/coalition.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/proto/coalition.go -------------------------------------------------------------------------------- /server/slgserver/proto/general.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/proto/general.go -------------------------------------------------------------------------------- /server/slgserver/proto/interior.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/proto/interior.go -------------------------------------------------------------------------------- /server/slgserver/proto/nation_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/proto/nation_map.go -------------------------------------------------------------------------------- /server/slgserver/proto/role.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/proto/role.go -------------------------------------------------------------------------------- /server/slgserver/proto/skill.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/proto/skill.go -------------------------------------------------------------------------------- /server/slgserver/proto/war.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/proto/war.go -------------------------------------------------------------------------------- /server/slgserver/run/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/run/init.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/basic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/basic.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/const.go: -------------------------------------------------------------------------------- 1 | package static_conf 2 | 3 | //军队武将数量 4 | const ArmyGCnt = 3 5 | -------------------------------------------------------------------------------- /server/slgserver/static_conf/facility/facility.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/facility/facility.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/facility/facility_addition.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/facility/facility_addition.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/facility/facility_conf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/facility/facility_conf.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/general/general.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/general/general.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/general/general_arms.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/general/general_arms.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/general/general_basic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/general/general_basic.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/map_build.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/map_build.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/map_build_custom.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/map_build_custom.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/npc/npc_army.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/npc/npc_army.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/skill/skill.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/skill/skill.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/skill/skill_conf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/skill/skill_conf.go -------------------------------------------------------------------------------- /server/slgserver/static_conf/skill/skill_outline.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/server/slgserver/static_conf/skill/skill_outline.go -------------------------------------------------------------------------------- /shell/build.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/shell/build.bat -------------------------------------------------------------------------------- /shell/copydata.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/shell/copydata.bat -------------------------------------------------------------------------------- /shell/kill.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/shell/kill.bat -------------------------------------------------------------------------------- /shell/run.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/shell/run.bat -------------------------------------------------------------------------------- /util/crypto.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/util/crypto.go -------------------------------------------------------------------------------- /util/math.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/util/math.go -------------------------------------------------------------------------------- /util/msgpack.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/util/msgpack.go -------------------------------------------------------------------------------- /util/random.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/util/random.go -------------------------------------------------------------------------------- /util/session.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llr104/slgserver/HEAD/util/session.go --------------------------------------------------------------------------------