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)
void
sendTo
(R clients, const(P) packet, ubyte channel)
class
BaseServer
(Client)
void
sendTo
(
R
P
)
(
R
clients
,
auto
ref
const
(
P
)
packet
,
ubyte
channel
= 0
)
if
(
(
isInputRange
!
R
&&
is
(
ElementType
!
R
:
ClientId
)
)
||
is
(
R
:
ClientId
) &&
is
(
P
== struct)
)
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.