enet-tutorials ~master (2014-11-15T21:57:48Z)
Dub
Repo
BaseServer.sendTo
baseserver
BaseServer
Sends packet to specified clients.
void
sendTo
(R clients, ubyte[] data, ubyte channel)
class
BaseServer
(Client)
void
sendTo
(
R
)
(
R
clients
,
ubyte
[]
data
,
ubyte
channel
= 0
)
if
(
(
isInputRange
!
R
&&
is
(
ElementType
!
R
:
ClientId
)
)
||
is
(
R
:
ClientId
)
)
void
sendTo
(R clients, const(P) packet, ubyte channel)
void
sendTo
(R clients, ENetPacket* packet, ubyte channel)
Meta
Source
See Implementation
baseserver
BaseServer
functions
disconnectAll
sendTo
sendToAll
sendToAllExcept
start
variables
clientStorage
Sends packet to specified clients.