1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-22 07:05:23 +00:00
OpenDiablo2/d2networking/d2server
danhale-git c27fb572bc
D2networking resolve lint issues (#497)
* Added automap.go stub

* Handle errors in original AutoMap.txt file

* Completed AutoMapRecord struct and comments

* AutoMap loader implemented

* Update from base repo

* Comments added to d2netpacket and d2netpackettype.

Note, the Overview for d2netpacket is in net_packet.go. It could be placed in a doc.go file but net_packet.go seemed appropriate in this case.

* Comments added to d2server

* client_connection.go missed from previous commit

* Comments added to d2client

* Doc.go added to d2networking and other corrections

* Unused parameter present to satisfy interface, named it '_'

* Unhandled errors and other issues resolved in d2networking.

This commit adds simple error reporting and creates a lot of mess. I will be doing one more pass to tidy things up a bit before I move on.

* Commented out continue on RemoteClientConnection error and implemented stringer in message type

* NetPacketType.String uses map instead of switch.

* Map moved into String method
2020-06-30 20:01:51 -04:00
..
d2udpclientconnection D2networking resolve lint issues (#497) 2020-06-30 20:01:51 -04:00
client_connection.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
connection_manager.go D2networking resolve lint issues (#497) 2020-06-30 20:01:51 -04:00
doc.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
game_server.go D2networking resolve lint issues (#497) 2020-06-30 20:01:51 -04:00