Skip to content

Commit 1fef70b

Browse files
committed
Remove accidentally removed headers
1 parent 09ab37c commit 1fef70b

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

ElunaEventMgr.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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

ElunaEventMgr.h

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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

6470
class ElunaEventProcessor

0 commit comments

Comments
 (0)