Open 3D Engine GridMate API Reference  2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Static Public Attributes | List of all members
GridMate::DataSetDefaultTraits Struct Reference

Default DataSet callbacks traits. More...

#include <DataSet.h>

Inherited by GridMate::DataSetInvokeEverywhereTraits.

Static Public Attributes

static const bool s_invokeAuthoritativeCallback = false
 Should a change in DataSet value invoke a callback on a primary replica chunk? More...
 

Detailed Description

Default DataSet callbacks traits.

Member Data Documentation

◆ s_invokeAuthoritativeCallback

const bool GridMate::DataSetDefaultTraits::s_invokeAuthoritativeCallback = false
static

Should a change in DataSet value invoke a callback on a primary replica chunk?

By default, DataSet::BindInterface<C, &C::Callback> only invokes on client/non-authoritative replica chunks. This switch enables the callback on server/authoritative replica chunks. Warning: this change should not be enabled on existing Open 3D Engine components as they were not written with this option in mind.

New user custom replica chunk will work just fine.


The documentation for this struct was generated from the following file: