enet-tutorials ~master (2014-11-15T21:57:48Z)
Dub
Repo
Server.sendTo
server
Server
Sending
void
sendTo
(R users, ubyte[] data, ubyte channel)
void
sendTo
(R users, ENetPacket* packet, ubyte channel)
class
Server
void
sendTo
(
R
)
(
R
users
,
ENetPacket
*
packet
,
ubyte
channel
= 0
)
if
(
isInputRange
!
R
&&
is
(
ElementType
!
R
==
UserId
)
)
void
sendToAll
(ubyte[] data, ubyte channel)
void
sendToAll
(ENetPacket* packet, ubyte channel)
Meta
Source
See Implementation
server
Server
functions
handleCommand
handleLoginPacket
handleMessagePacket
onConnect
onDisconnect
sendMessageTo
sendTo
sendToAll
start
stop
variables
address
isRunning
settings
userStorage
Sending