Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Public Attributes | List of all members
cProjectileEntity::CreatorData Struct Reference

A structure that stores the Entity ID and Playername of the projectile's creator Used to migitate invalid pointers caused by the creator being destroyed. More...

#include <ProjectileEntity.h>

Collaboration diagram for cProjectileEntity::CreatorData:
Collaboration graph
[legend]

Public Member Functions

 CreatorData (UInt32 a_UniqueID, const AString &a_Name, const cEnchantments &a_Enchantments)
 

Public Attributes

cEnchantments m_Enchantments
 
AString m_Name
 
const UInt32 m_UniqueID
 

Detailed Description

A structure that stores the Entity ID and Playername of the projectile's creator Used to migitate invalid pointers caused by the creator being destroyed.

Definition at line 117 of file ProjectileEntity.h.

Constructor & Destructor Documentation

◆ CreatorData()

cProjectileEntity::CreatorData::CreatorData ( UInt32  a_UniqueID,
const AString a_Name,
const cEnchantments a_Enchantments 
)
inline

Definition at line 119 of file ProjectileEntity.h.

Member Data Documentation

◆ m_Enchantments

cEnchantments cProjectileEntity::CreatorData::m_Enchantments

Definition at line 128 of file ProjectileEntity.h.

◆ m_Name

AString cProjectileEntity::CreatorData::m_Name

Definition at line 127 of file ProjectileEntity.h.

◆ m_UniqueID

const UInt32 cProjectileEntity::CreatorData::m_UniqueID

Definition at line 126 of file ProjectileEntity.h.


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