Updated class naming

This commit is contained in:
dannuic
2026-04-29 13:50:36 -06:00
parent 966ca5cf07
commit a54f93e70f
23 changed files with 309 additions and 410 deletions
+24 -40
View File
@@ -5,42 +5,30 @@
class EQStreamIdentifier;
namespace TOB
{
namespace TOB {
//these are the only public member of this namespace.
extern void Register(EQStreamIdentifier& into);
extern void Reload();
extern void Register(EQStreamIdentifier& into);
extern void Reload();
//you should not directly access anything below..
//I just dont feel like making a seperate header for it.
class Strategy : public StructStrategy {
public:
Strategy();
protected:
virtual std::string Describe() const;
virtual const EQ::versions::ClientVersion ClientVersion() const;
//magic macro to declare our opcode processors
#include "ss_declare.h"
#include "tob_ops.h"
};
}; /*TOB*/
namespace Message {
class TOB : public Titanium
class Strategy : public StructStrategy
{
public:
TOB() = default;
~TOB() override = default;
Strategy();
protected:
virtual std::string Describe() const;
virtual const EQ::versions::ClientVersion ClientVersion() const;
//magic macro to declare our opcode processors
#include "ss_declare.h"
#include "tob_ops.h"
};
class MessageComponent : public Titanium::MessageComponent
{
public:
MessageComponent() = default;
~MessageComponent() override = default;
std::unique_ptr<EQApplicationPacket> Formatted(uint32_t color, uint32_t id,
const std::array<const char*, 9>& args) const override;
@@ -55,15 +43,11 @@ protected:
void ResolveArguments(uint32_t id, std::array<const char*, 9>& args) const override;
};
} // namespace Message
namespace Buff {
class TOB : public UF
class BuffComponent : public UF::BuffComponent
{
public:
TOB() = default;
~TOB() override = default;
BuffComponent() = default;
~BuffComponent() override = default;
std::unique_ptr<EQApplicationPacket>
BuffDefinition(Mob* mob, const Buffs_Struct& buff, int slot, bool fade) const override;
@@ -72,4 +56,4 @@ public:
void SetRefreshType(std::unique_ptr<EQApplicationPacket>& packet, Mob* source, Client* target) const override;
};
} // namespace Buff
}; /*TOB*/