mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-05 19:14:14 -04:00
14 lines
366 B
Go
14 lines
366 B
Go
package d2client
|
|
|
|
import (
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2networking"
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2networking/d2netpacket"
|
|
)
|
|
|
|
type ClientConnection interface {
|
|
Open(connectionString string, saveFilePath string) error
|
|
Close() error
|
|
SendPacketToServer(packet d2netpacket.NetPacket) error
|
|
SetClientListener(listener d2networking.ClientListener)
|
|
}
|