voxelman v0.6.1 (2016-01-09T15:39:38Z)
Dub
Repo
BaseServer.sendTo
netlib
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
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
netlib
baseserver
BaseServer
functions
disconnectAll
sendTo
sendToAll
sendToAllExcept
start
variables
clientStorage
Sends packet to specified clients.