Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
network_send.cpp File Reference
#include <ctype.h>
#include <stdarg.h>
#include "inexor/network/legacy/buffer_types.hpp"
#include "inexor/network/legacy/cube_network.hpp"
#include "inexor/network/legacy/game_types.hpp"
#include "inexor/server/client_management.hpp"
#include "inexor/server/demos.hpp"
#include "inexor/server/network_send.hpp"
#include "inexor/shared/cube_formatting.hpp"
#include "inexor/shared/cube_loops.hpp"
#include "inexor/shared/cube_types.hpp"
#include "inexor/shared/cube_vector.hpp"
#include "inexor/fpsgame/server.hpp"

Functions

void sendpacket (int n, int chan, ENetPacket *packet, int exclude)
 
ENetPacket * sendf (int cn, int chan, const char *format,...)
 
void sendservmsg (const char *s)
 
void sendservmsgf (const char *fmt,...)
 
ENetPacket * sendfile (int cn, int chan, stream *file, const char *format,...)
 

Function Documentation

ENetPacket* sendf ( int  cn,
int  chan,
const char *  format,
  ... 
)

References packetbuf::finalize(), format(), loopi(), MAXTRANS, packetbuf::put(), putfloat(), putint(), sendpacket(), and sendstring().

Referenced by server::captureservermode::addscore(), server::hideandseekservermode::announceseekers(), server::autoteam(), aiman::balanceteams(), server::bombservermode::canspawn(), server::change_mastermode(), server::changegamespeed(), server::changemap(), server::checkintermission(), server::checkmaps(), aiman::deleteai(), server::collectservermode::deposittokens(), server::bombservermode::died(), server::hideandseekservermode::died(), server::disconnect_client(), server::dodamage(), server::ctfservermode::dropflag(), server::captureservermode::endcheck(), server::enddemoplayback(), server::forcespectator(), server::parsepacket(), server::pausegame(), server::persistteams(), server::pickup(), server::player_connected(), server::shotevent::process(), server::explodeevent::process(), server::bombservermode::pushentity(), server::receivefile(), server::captureservermode::regenowners(), aiman::reinitai(), server::captureservermode::replenishammo(), aiman::reqadd(), aiman::reqdel(), server::ctfservermode::scoreflag(), server::captureservermode::sendbaseinfo(), server::senddemo(), server::sendresume(), server::sendservinfo(), sendservmsg(), sendservmsgf(), server::sendspawn(), server::bombservermode::sendspawnlocs(), server::serverupdate(), server::hideandseekservermode::sethider(), server::setmaster(), server::hideandseekservermode::setseeker(), server::setupdemoplayback(), server::ctfservermode::setupholdspawns(), server::suicide(), server::ctfservermode::takeflag(), server::collectservermode::taketoken(), server::unspectate(), server::collectservermode::update(), server::ctfservermode::update(), server::bombservermode::updatelimbo(), and server::vote().

ENetPacket* sendfile ( int  cn,
int  chan,
stream file,
const char *  format,
  ... 
)
void sendpacket ( int  n,
int  chan,
ENetPacket *  packet,
int  exclude 
)
void sendservmsg ( const char *  s)
void sendservmsgf ( const char *  fmt,
  ... 
)