1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-05 17:57:17 -05:00
OpenDiablo2/d2networking
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
..
d2client D2networking resolve lint issues (#497) 2020-06-30 20:01:51 -04:00
d2netpacket D2networking resolve lint issues (#497) 2020-06-30 20:01:51 -04:00
d2server D2networking resolve lint issues (#497) 2020-06-30 20:01:51 -04:00
client_listener.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
doc.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00