Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
IRollbackManager Class Referenceabstract

#include <rollback_interface.h>

+ Inheritance diagram for IRollbackManager:

Public Member Functions

virtual void reportAction (const RollbackAction &action)=0
 
virtual std::string getActor ()=0
 
virtual bool isActorGuess ()=0
 
virtual void setActor (const std::string &actor, bool is_guess)=0
 
virtual std::string getSuspect (v3s16 p, float nearness_shortcut, float min_nearness)=0
 
virtual ~IRollbackManager ()=default
 
virtual void flush ()=0
 
virtual std::list< RollbackActiongetNodeActors (v3s16 pos, int range, time_t seconds, int limit)=0
 
virtual std::list< RollbackActiongetRevertActions (const std::string &actor, time_t seconds)=0
 

Constructor & Destructor Documentation

◆ ~IRollbackManager()

virtual IRollbackManager::~IRollbackManager ( )
virtualdefault

Member Function Documentation

◆ flush()

virtual void IRollbackManager::flush ( )
pure virtual

Implemented in RollbackManager.

◆ getActor()

virtual std::string IRollbackManager::getActor ( )
pure virtual

Implemented in RollbackManager.

Referenced by RollbackScopeActor::RollbackScopeActor().

+ Here is the caller graph for this function:

◆ getNodeActors()

virtual std::list< RollbackAction > IRollbackManager::getNodeActors ( v3s16 pos,
int range,
time_t seconds,
int limit )
pure virtual

Implemented in RollbackManager.

Referenced by ModApiRollback::l_rollback_get_node_actions().

+ Here is the caller graph for this function:

◆ getRevertActions()

virtual std::list< RollbackAction > IRollbackManager::getRevertActions ( const std::string & actor,
time_t seconds )
pure virtual

Implemented in RollbackManager.

Referenced by ModApiRollback::l_rollback_revert_actions_by().

+ Here is the caller graph for this function:

◆ getSuspect()

virtual std::string IRollbackManager::getSuspect ( v3s16 p,
float nearness_shortcut,
float min_nearness )
pure virtual

Implemented in RollbackManager.

Referenced by ServerMap::transformLiquids().

+ Here is the caller graph for this function:

◆ isActorGuess()

virtual bool IRollbackManager::isActorGuess ( )
pure virtual

Implemented in RollbackManager.

Referenced by RollbackScopeActor::RollbackScopeActor().

+ Here is the caller graph for this function:

◆ reportAction()

virtual void IRollbackManager::reportAction ( const RollbackAction & action)
pure virtual

Implemented in RollbackManager.

Referenced by Map::addNodeAndUpdate(), IDropAction::apply(), IMoveAction::apply(), Server::handleCommand_NodeMetaFields(), and ServerMap::transformLiquids().

+ Here is the caller graph for this function:

◆ setActor()

virtual void IRollbackManager::setActor ( const std::string & actor,
bool is_guess )
pure virtual

Implemented in RollbackManager.

Referenced by RollbackScopeActor::RollbackScopeActor(), and RollbackScopeActor::~RollbackScopeActor().

+ Here is the caller graph for this function:

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