mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-06 04:42:28 +00:00
48 lines
1.9 KiB
C++
48 lines
1.9 KiB
C++
/* EQEmu: EQEmulator
|
|
|
|
Copyright (C) 2001-2026 EQEmu Development Team
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#pragma once
|
|
|
|
#include "zone/patch/components/message/IMessage.h"
|
|
|
|
namespace ZoneClient::Message {
|
|
|
|
class Titanium : public IMessage {
|
|
public:
|
|
constexpr Titanium() {}
|
|
constexpr ~Titanium() override {}
|
|
|
|
EQApplicationPacket* Simple(uint32_t color, uint32_t id) const override;
|
|
|
|
EQApplicationPacket* Formatted(uint32_t color, uint32_t id,
|
|
const char* a1 = nullptr, const char* a2 = nullptr, const char* a3 = nullptr,
|
|
const char* a4 = nullptr, const char* a5 = nullptr, const char* a6 = nullptr,
|
|
const char* a7 = nullptr, const char* a8 = nullptr, const char* a9 = nullptr) const override;
|
|
|
|
EQApplicationPacket* InterruptSpell(uint32_t message, uint32_t spawn_id, uint32_t spell_id,
|
|
const char* spell_name_override = "") const override;
|
|
EQApplicationPacket* InterruptSpellOther(Mob* sender, uint32_t message, uint32_t spawn_id, uint32_t spell_id,
|
|
const char* spell_name_override = "") const override;
|
|
|
|
EQApplicationPacket* Fizzle(Mob* m, uint32_t type, uint32_t message, uint32_t spell_id) const override;
|
|
|
|
protected:
|
|
virtual uint32_t ResolveID(uint32_t id) const;
|
|
};
|
|
|
|
} // namespace Zone::Message
|