/
dieoska
/
ddnet
Обзор
Документация
Войти
/
dieoska
/
ddnet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/engine/message.h
28 строк
722 B
heinrich5991
Rename all variables for strict camel-casing of abbreviations
05 мар 2024, 17:44
05 мар 2024, 17:44
17402cc
Код
Авторство
О чём код?
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #ifndef ENGINE_MESSAGE_H #define ENGINE_MESSAGE_H #include <engine/shared/packer.h> #include <engine/shared/uuid_manager.h> class CMsgPacker : public CPacker { public: int m_MsgId; bool m_System; bool m_NoTranslate; CMsgPacker(int Type, bool System = false, bool NoTranslate = false) : m_MsgId(Type), m_System(System), m_NoTranslate(NoTranslate) { Reset(); } template<typename T> CMsgPacker(const T *, bool System = false, bool NoTranslate = false) : CMsgPacker(T::ms_MsgId, System, NoTranslate) { } }; #endif