Nebula
Loading...
Searching...
No Matches
clientprocessors.cc File Reference
#include "basegamefeature/managers/timemanager.h"
#include "components/multiplayer.h"
#include "foundation/stdneb.h"
#include "game/api.h"
#include "game/world.h"
#include "multiplayer/client/basemultiplayerclient.h"
#include "clientprocessors.h"
#include "nflatbuffer/nebula_flat.h"
#include "nflatbuffer/flatbufferinterface.h"
#include "flat/addons/multiplayer/standardprotocol.h"

Classes

struct  Multiplayer::ClientProcessorContext
 

Namespaces

namespace  Multiplayer
 

Macros

#define CREATE_NET_PROCESSOR(FUNC, ORDER)
 

Functions

void Multiplayer::InterpolatePositions (Game::World *world, NetworkId const &netId, NetworkTransform &s, Game::Position &pos)
 
void Multiplayer::SetupClientProcessors (BaseMultiplayerClient *client)
 
void Multiplayer::ShutdownClientProcessors ()
 

Variables

static ClientProcessorContextMultiplayer::context
 
static Util::StringAtom Multiplayer::frameEvent
 

Macro Definition Documentation

◆ CREATE_NET_PROCESSOR

#define CREATE_NET_PROCESSOR ( FUNC,
ORDER )
Value:
context->processors.Append(Game::ProcessorBuilder(world, #FUNC).On(frameEvent).Order(ORDER).Func(FUNC).Build());
Definition processor.h:132
void Append(const TYPE &first, const ELEM_TYPE &... elements)
Append multiple elements to the end of the array.
Definition array.h:1334
Util::Array< Game::Processor * > processors
Definition clientprocessors.cc:22