mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-09 11:47:21 -05:00
15 lines
380 B
Go
15 lines
380 B
Go
package d2server
|
|
|
|
import (
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2game/d2player"
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2networking/d2netpacket"
|
|
)
|
|
|
|
type ClientConnection interface {
|
|
GetUniqueId() string
|
|
GetConnectionType() string
|
|
SendPacketToClient(packet d2netpacket.NetPacket) error
|
|
GetPlayerState() *d2player.PlayerState
|
|
SetPlayerState(playerState *d2player.PlayerState)
|
|
}
|