BaseServer.sendToAll

Sends packet to all clients.

  1. void sendToAll(P packet, ubyte channel)
    class BaseServer
    void
    sendToAll
    (
    P
    )
    (
    auto ref P packet
    ,
    ubyte channel = 0
    )
    if (
    is(P == struct)
    )
  2. void sendToAll(ubyte[] data, ubyte channel)
  3. void sendToAll(ENetPacket* packet, ubyte channel)

Meta