diff options
Diffstat (limited to 'include/bots.h')
-rw-r--r-- | include/bots.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/bots.h b/include/bots.h index 20daeddcf..c23a354fc 100644 --- a/include/bots.h +++ b/include/bots.h @@ -32,7 +32,7 @@ enum BotFlag static const Anope::string BotFlagString[] = { "BEGIN", "CORE", "PRIVATE", "CONF", "" }; -class CoreExport BotInfo : public User, public Flags<BotFlag, BI_END> +class CoreExport BotInfo : public User, public Flags<BotFlag, BI_END>, public Serializable<BotInfo> { public: uint32 chancount; @@ -57,6 +57,9 @@ class CoreExport BotInfo : public User, public Flags<BotFlag, BI_END> */ virtual ~BotInfo(); + serialized_data serialize(); + static void unserialize(serialized_data &); + void GenerateUID(); /** Change the nickname for the bot. |