Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | List of all members
cBroadcastInterface Class Referenceabstract

#include <BroadcastInterface.h>

Inheritance diagram for cBroadcastInterface:
Inheritance graph
[legend]

Public Member Functions

virtual void BroadcastAttachEntity (const cEntity &a_Entity, const cEntity &a_Vehicle)=0
 
virtual void BroadcastBlockAction (Vector3i a_BlockPos, Byte a_Byte1, Byte a_Byte2, BLOCKTYPE a_BlockType, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastBlockBreakAnimation (UInt32 a_EntityID, Vector3i a_BlockPos, Int8 a_Stage, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastBlockEntity (Vector3i a_BlockPos, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastBossBarUpdateHealth (const cEntity &a_Entity, UInt32 a_UniqueID, float a_FractionFilled)=0
 
virtual void BroadcastChat (const AString &a_Message, const cClientHandle *a_Exclude=nullptr, eMessageType a_ChatPrefix=mtCustom)=0
 
virtual void BroadcastChat (const cCompositeChat &a_Message, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastChatDeath (const AString &a_Message, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastChatFailure (const AString &a_Message, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastChatFatal (const AString &a_Message, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastChatInfo (const AString &a_Message, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastChatSuccess (const AString &a_Message, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastChatWarning (const AString &a_Message, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastCollectEntity (const cEntity &a_Collected, const cEntity &a_Collector, unsigned a_Count, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastDestroyEntity (const cEntity &a_Entity, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastDetachEntity (const cEntity &a_Entity, const cEntity &a_PreviousVehicle)=0
 
virtual void BroadcastDisplayObjective (const AString &a_Objective, cScoreboard::eDisplaySlot a_Display)=0
 
virtual void BroadcastEntityAnimation (const cEntity &a_Entity, EntityAnimation a_Animation, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastEntityEffect (const cEntity &a_Entity, int a_EffectID, int a_Amplifier, int a_Duration, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastEntityEquipment (const cEntity &a_Entity, short a_SlotNum, const cItem &a_Item, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastEntityHeadLook (const cEntity &a_Entity, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastEntityLook (const cEntity &a_Entity, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastEntityMetadata (const cEntity &a_Entity, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastEntityPosition (const cEntity &a_Entity, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastEntityVelocity (const cEntity &a_Entity, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastLeashEntity (const cEntity &a_Entity, const cEntity &a_EntityLeashedTo)=0
 
virtual void BroadcastParticleEffect (const AString &a_ParticleName, Vector3f a_Src, Vector3f a_Offset, float a_ParticleData, int a_ParticleAmount, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastParticleEffect (const AString &a_ParticleName, Vector3f a_Src, Vector3f a_Offset, float a_ParticleData, int a_ParticleAmount, std::array< int, 2 > a_Data, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastPlayerListAddPlayer (const cPlayer &a_Player, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastPlayerListHeaderFooter (const cCompositeChat &a_Header, const cCompositeChat &a_Footer)=0
 
virtual void BroadcastPlayerListRemovePlayer (const cPlayer &a_Player, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastPlayerListUpdateDisplayName (const cPlayer &a_Player, const AString &a_CustomName, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastPlayerListUpdateGameMode (const cPlayer &a_Player, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastPlayerListUpdatePing ()=0
 
virtual void BroadcastRemoveEntityEffect (const cEntity &a_Entity, int a_EffectID, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastScoreboardObjective (const AString &a_Name, const AString &a_DisplayName, Byte a_Mode)=0
 
virtual void BroadcastScoreUpdate (const AString &a_Objective, const AString &a_PlayerName, cObjective::Score a_Score, Byte a_Mode)=0
 
virtual void BroadcastSoundEffect (const AString &a_SoundName, Vector3d a_Position, float a_Volume, float a_Pitch, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastSoundParticleEffect (const EffectID a_EffectID, Vector3i a_SrcPos, int a_Data, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastSpawnEntity (cEntity &a_Entity, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastThunderbolt (Vector3i a_BlockPos, const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastTimeUpdate (const cClientHandle *a_Exclude=nullptr)=0
 
virtual void BroadcastUnleashEntity (const cEntity &a_Entity)=0
 
virtual void BroadcastWeather (eWeather a_Weather, const cClientHandle *a_Exclude=nullptr)=0
 
virtual ~cBroadcastInterface ()
 

Detailed Description

Definition at line 16 of file BroadcastInterface.h.

Constructor & Destructor Documentation

◆ ~cBroadcastInterface()

virtual cBroadcastInterface::~cBroadcastInterface ( )
inlinevirtual

Definition at line 19 of file BroadcastInterface.h.

Member Function Documentation

◆ BroadcastAttachEntity()

virtual void cBroadcastInterface::BroadcastAttachEntity ( const cEntity a_Entity,
const cEntity a_Vehicle 
)
pure virtual

Implemented in cWorld.

◆ BroadcastBlockAction()

virtual void cBroadcastInterface::BroadcastBlockAction ( Vector3i  a_BlockPos,
Byte  a_Byte1,
Byte  a_Byte2,
BLOCKTYPE  a_BlockType,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastBlockBreakAnimation()

virtual void cBroadcastInterface::BroadcastBlockBreakAnimation ( UInt32  a_EntityID,
Vector3i  a_BlockPos,
Int8  a_Stage,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastBlockEntity()

virtual void cBroadcastInterface::BroadcastBlockEntity ( Vector3i  a_BlockPos,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastBossBarUpdateHealth()

virtual void cBroadcastInterface::BroadcastBossBarUpdateHealth ( const cEntity a_Entity,
UInt32  a_UniqueID,
float  a_FractionFilled 
)
pure virtual

Implemented in cWorld.

◆ BroadcastChat() [1/2]

virtual void cBroadcastInterface::BroadcastChat ( const AString a_Message,
const cClientHandle a_Exclude = nullptr,
eMessageType  a_ChatPrefix = mtCustom 
)
pure virtual

Implemented in cWorld.

◆ BroadcastChat() [2/2]

virtual void cBroadcastInterface::BroadcastChat ( const cCompositeChat a_Message,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastChatDeath()

virtual void cBroadcastInterface::BroadcastChatDeath ( const AString a_Message,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastChatFailure()

virtual void cBroadcastInterface::BroadcastChatFailure ( const AString a_Message,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastChatFatal()

virtual void cBroadcastInterface::BroadcastChatFatal ( const AString a_Message,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastChatInfo()

virtual void cBroadcastInterface::BroadcastChatInfo ( const AString a_Message,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastChatSuccess()

virtual void cBroadcastInterface::BroadcastChatSuccess ( const AString a_Message,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastChatWarning()

virtual void cBroadcastInterface::BroadcastChatWarning ( const AString a_Message,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastCollectEntity()

virtual void cBroadcastInterface::BroadcastCollectEntity ( const cEntity a_Collected,
const cEntity a_Collector,
unsigned  a_Count,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastDestroyEntity()

virtual void cBroadcastInterface::BroadcastDestroyEntity ( const cEntity a_Entity,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastDetachEntity()

virtual void cBroadcastInterface::BroadcastDetachEntity ( const cEntity a_Entity,
const cEntity a_PreviousVehicle 
)
pure virtual

Implemented in cWorld.

◆ BroadcastDisplayObjective()

virtual void cBroadcastInterface::BroadcastDisplayObjective ( const AString a_Objective,
cScoreboard::eDisplaySlot  a_Display 
)
pure virtual

Implemented in cWorld.

◆ BroadcastEntityAnimation()

virtual void cBroadcastInterface::BroadcastEntityAnimation ( const cEntity a_Entity,
EntityAnimation  a_Animation,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastEntityEffect()

virtual void cBroadcastInterface::BroadcastEntityEffect ( const cEntity a_Entity,
int  a_EffectID,
int  a_Amplifier,
int  a_Duration,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastEntityEquipment()

virtual void cBroadcastInterface::BroadcastEntityEquipment ( const cEntity a_Entity,
short  a_SlotNum,
const cItem a_Item,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastEntityHeadLook()

virtual void cBroadcastInterface::BroadcastEntityHeadLook ( const cEntity a_Entity,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastEntityLook()

virtual void cBroadcastInterface::BroadcastEntityLook ( const cEntity a_Entity,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastEntityMetadata()

virtual void cBroadcastInterface::BroadcastEntityMetadata ( const cEntity a_Entity,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastEntityPosition()

virtual void cBroadcastInterface::BroadcastEntityPosition ( const cEntity a_Entity,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastEntityVelocity()

virtual void cBroadcastInterface::BroadcastEntityVelocity ( const cEntity a_Entity,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastLeashEntity()

virtual void cBroadcastInterface::BroadcastLeashEntity ( const cEntity a_Entity,
const cEntity a_EntityLeashedTo 
)
pure virtual

Implemented in cWorld.

◆ BroadcastParticleEffect() [1/2]

virtual void cBroadcastInterface::BroadcastParticleEffect ( const AString a_ParticleName,
Vector3f  a_Src,
Vector3f  a_Offset,
float  a_ParticleData,
int  a_ParticleAmount,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastParticleEffect() [2/2]

virtual void cBroadcastInterface::BroadcastParticleEffect ( const AString a_ParticleName,
Vector3f  a_Src,
Vector3f  a_Offset,
float  a_ParticleData,
int  a_ParticleAmount,
std::array< int, 2 >  a_Data,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastPlayerListAddPlayer()

virtual void cBroadcastInterface::BroadcastPlayerListAddPlayer ( const cPlayer a_Player,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastPlayerListHeaderFooter()

virtual void cBroadcastInterface::BroadcastPlayerListHeaderFooter ( const cCompositeChat a_Header,
const cCompositeChat a_Footer 
)
pure virtual

Implemented in cWorld.

◆ BroadcastPlayerListRemovePlayer()

virtual void cBroadcastInterface::BroadcastPlayerListRemovePlayer ( const cPlayer a_Player,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastPlayerListUpdateDisplayName()

virtual void cBroadcastInterface::BroadcastPlayerListUpdateDisplayName ( const cPlayer a_Player,
const AString a_CustomName,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastPlayerListUpdateGameMode()

virtual void cBroadcastInterface::BroadcastPlayerListUpdateGameMode ( const cPlayer a_Player,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastPlayerListUpdatePing()

virtual void cBroadcastInterface::BroadcastPlayerListUpdatePing ( )
pure virtual

Implemented in cWorld.

◆ BroadcastRemoveEntityEffect()

virtual void cBroadcastInterface::BroadcastRemoveEntityEffect ( const cEntity a_Entity,
int  a_EffectID,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastScoreboardObjective()

virtual void cBroadcastInterface::BroadcastScoreboardObjective ( const AString a_Name,
const AString a_DisplayName,
Byte  a_Mode 
)
pure virtual

Implemented in cWorld.

◆ BroadcastScoreUpdate()

virtual void cBroadcastInterface::BroadcastScoreUpdate ( const AString a_Objective,
const AString a_PlayerName,
cObjective::Score  a_Score,
Byte  a_Mode 
)
pure virtual

Implemented in cWorld.

◆ BroadcastSoundEffect()

virtual void cBroadcastInterface::BroadcastSoundEffect ( const AString a_SoundName,
Vector3d  a_Position,
float  a_Volume,
float  a_Pitch,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastSoundParticleEffect()

virtual void cBroadcastInterface::BroadcastSoundParticleEffect ( const EffectID  a_EffectID,
Vector3i  a_SrcPos,
int  a_Data,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastSpawnEntity()

virtual void cBroadcastInterface::BroadcastSpawnEntity ( cEntity a_Entity,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastThunderbolt()

virtual void cBroadcastInterface::BroadcastThunderbolt ( Vector3i  a_BlockPos,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.

◆ BroadcastTimeUpdate()

virtual void cBroadcastInterface::BroadcastTimeUpdate ( const cClientHandle a_Exclude = nullptr)
pure virtual

Implemented in cWorld.

◆ BroadcastUnleashEntity()

virtual void cBroadcastInterface::BroadcastUnleashEntity ( const cEntity a_Entity)
pure virtual

Implemented in cWorld.

◆ BroadcastWeather()

virtual void cBroadcastInterface::BroadcastWeather ( eWeather  a_Weather,
const cClientHandle a_Exclude = nullptr 
)
pure virtual

Implemented in cWorld.


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