#ifndef RAGNAROK_SOURCE_CONTENTS_FORBIDDENWORDS_H #define RAGNAROK_SOURCE_CONTENTS_FORBIDDENWORDS_H #include #include class CCommonObject; class ResourceBytes; struct ForbiddenWords { std::vector& words; const unsigned short& codePage; bool Load(const char* name, CCommonObject& storage, ResourceBytes& file); bool Allows(const char* text) const; bool Contains(const char* text) const; void Mask(char* text, std::string* value = nullptr) const; }; #endif