voxelman v0.8.0 (2017-02-03T20:04:39Z)
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)
void
sendTo
(R clients, ENetPacket* packet, ubyte channel)
class
BaseServer
void
sendTo
(
R
)
(
R
clients
,
ENetPacket
*
packet
,
ubyte
channel
= 0
)
if
(
(
isInputRange
!
R
&&
is
(
ElementType
!
R
:
SessionId
)
)
||
is
(
R
:
SessionId
)
)
Meta
Source
See Implementation
netlib
baseserver
BaseServer
functions
disconnectAll
sendTo
sendToAll
sendToAllExcept
start
update
mixins
__anonymous
variables
peerStorage
Sends packet to specified clients.