示例#1
0
文件: peer.go 项目: boj/goenet
func (p *ENetPeer) DisconnectLater(data int) {
	C.enet_peer_disconnect_later((*C.ENetPeer)(p), C.enet_uint32(data))
}
示例#2
0
文件: peer.go 项目: deft-code/go-enet
// enet_peer_disconnect_later
func (peer *Peer) DisconnectLater(data uint) {
	C.enet_peer_disconnect_later(peer.peer, C.enet_uint32(data))
}