1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-12-27 04:26:29 -05:00
OpenDiablo2/d2networking/d2netpacket
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
..
d2netpackettype D2networking resolve lint issues (#497) 2020-06-30 20:01:51 -04:00
net_packet.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
packet_add_player.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
packet_generate_map.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
packet_move_player.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
packet_ping.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
packet_player_cast.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
packet_player_connection_request.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
packet_player_disconnect_request.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
packet_pong.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
packet_server_closed.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00
packet_update_server_info.go D2networking resolve lint issues (#492) 2020-06-29 17:01:26 -04:00