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)
class
BaseServer
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
netlib
baseserver
BaseServer
functions
disconnectAll
sendTo
sendToAll
sendToAllExcept
start
variables
clientStorage
Sends packet to specified clients.