File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed
Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2010 - 2024 Eluna Lua Engine <https://elunaluaengine.github.io/>
3+ * This program is free software licensed under GPL version 3
4+ * Please see the included DOCS/LICENSE.md for more information
5+ */
6+
17#include " ElunaEventMgr.h"
28#include " LuaEngine.h"
39#if !defined ELUNA_CMANGOS
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2010 - 2024 Eluna Lua Engine <https://elunaluaengine.github.io/>
3+ * This program is free software licensed under GPL version 3
4+ * Please see the included DOCS/LICENSE.md for more information
5+ */
6+
17#ifndef _ELUNA_EVENT_MGR_H
28#define _ELUNA_EVENT_MGR_H
39
@@ -53,12 +59,12 @@ struct LuaEvent
5359 delay = urand (min, max);
5460 }
5561
56- uint32 min; // Minimum delay between event calls
57- uint32 max; // Maximum delay between event calls
58- uint32 delay; // The currently used waiting time
59- uint32 repeats; // Amount of repeats to make, 0 for infinite
60- int funcRef; // Lua function reference ID, also used as event ID
61- LuaEventState state; // State for next call
62+ uint32 min; // Minimum delay between event calls
63+ uint32 max; // Maximum delay between event calls
64+ uint32 delay; // The currently used waiting time
65+ uint32 repeats; // Amount of repeats to make, 0 for infinite
66+ int funcRef; // Lua function reference ID, also used as event ID
67+ LuaEventState state; // State for next call
6268};
6369
6470class ElunaEventProcessor
You can’t perform that action at this time.
0 commit comments