玩家接口优化
This commit is contained in:
parent
e11168b984
commit
3f0d185322
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue