blob: f980d5008b4346904b90e939b41200d03b809444 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
*
* (C) 2014 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*
*/
namespace Event
{
struct CoreExport DefconLevel : Events
{
/** Called when defcon level changes
* @param level The level
*/
virtual void OnDefconLevel(int level) anope_abstract;
};
}
template<> struct EventName<Event::DefconLevel> { static constexpr const char *const name = "OnDefconLevel"; };
|