玩家接口优化

This commit is contained in:
kercylan98 2023-05-11 12:31:23 +08:00
parent e11168b984
commit 3f0d185322
1 changed files with 0 additions and 5 deletions

View File

@ -28,8 +28,3 @@ func (slf *Player[ID]) Send(packet []byte) error {
func (slf *Player[ID]) Close() {
slf.conn.Close()
}
// Write 写入数据
func (slf *Player[ID]) Write(packet []byte) error {
return slf.conn.Write(packet)
}