enet-tutorials ~master (2014-11-15T21:57:48Z)
Dub
Repo
Server.sendTo
server
Server
Sending
void
sendTo
(R users, ubyte[] data, ubyte channel)
class
Server
void
sendTo
(
R
)
(
R
users
,
ubyte
[]
data
,
ubyte
channel
= 0
)
if
(
isInputRange
!
R
&&
is
(
ElementType
!
R
==
UserId
)
)
void
sendTo
(R users, ENetPacket* packet, ubyte channel)
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