Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
network_send.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <enet/enet.h> // for ENetPacket
4 
5 struct stream;
6 
7 
8 extern ENetPacket *sendf(int cn, int chan, const char *format, ...);
9 extern void sendpacket(int cn, int chan, ENetPacket *packet, int exclude = -1);
10 extern ENetPacket *sendfile(int cn, int chan, stream *file, const char *format, ...);
11 
12 extern void sendservmsg(const char *s);
13 extern void sendservmsgf(const char *fmt, ...);
void sendpacket(int cn, int chan, ENetPacket *packet, int exclude=-1)
Definition: network_send.cpp:21
StringFormatter::FmtMark fmt
Marker that starts formatting a string.
Definition: StringFormatter.cpp:5
ENetPacket * sendfile(int cn, int chan, stream *file, const char *format,...)
Definition: network_send.cpp:92
void sendservmsg(const char *s)
Definition: network_send.cpp:81
void format(tagval *args, int numargs)
Definition: command.cpp:2584
ENetPacket * sendf(int cn, int chan, const char *format,...)
Definition: network_send.cpp:33
Legacy file system streams.
Definition: stream.hpp:22
static aviwriter * file
Definition: movie.cpp:830
void sendservmsgf(const char *fmt,...)
Definition: network_send.cpp:86