Pol
Revision:cb584c9
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
uoexec.h
Go to the documentation of this file.
1
8
#ifndef __UOEXEC_H
9
#define __UOEXEC_H
10
11
#ifndef __BSCRIPT_EXECUTOR_H
12
#include "../bscript/executor.h"
13
#endif
14
15
#include <string>
16
#include <time.h>
17
18
#include "../clib/compilerspecifics.h"
19
#include "../clib/rawtypes.h"
20
#include "../clib/weakptr.h"
21
22
namespace
Pol
23
{
24
namespace
Module
25
{
26
class
OSExecutorModule;
27
}
28
namespace
Core
29
{
30
// const int SCRIPT_RUNAWAY_INTERVAL = 5000;
31
32
class
UOExecutor
:
public
Bscript::Executor
33
{
34
typedef
Bscript::Executor
base
;
35
36
public
:
// soon to be private ;)
37
Module::OSExecutorModule
*
os_module
;
38
39
public
:
40
UOExecutor
();
41
virtual
~
UOExecutor
();
42
virtual
size_t
sizeEstimate() const
POL_OVERRIDE
;
43
44
bool
suspend();
45
bool
revive();
46
47
std
::
string
state();
48
49
u64
instr_cycles;
50
u64
sleep_cycles;
51
time_t start_time;
52
53
u64
warn_runaway_on_cycle;
54
u64
runaway_cycles;
55
56
unsigned
int
eventmask;
57
unsigned
short
area_size;
58
unsigned
short
speech_size;
59
60
bool
can_access_offline_mobiles;
61
bool
auxsvc_assume_string;
62
weak_ptr_owner
<
UOExecutor
> weakptr;
63
64
UOExecutor
*pParent, *pChild;
65
};
66
}
67
}
68
#endif
POL_OVERRIDE
#define POL_OVERRIDE
Definition:
compilerspecifics.h:74
std
STL namespace.
Pol::Core::UOExecutor::base
Bscript::Executor base
Definition:
uoexec.h:34
Pol::Module::OSExecutorModule
Definition:
osmod.h:52
u64
unsigned long long u64
Definition:
rawtypes.h:38
Pol::Core::UOExecutor
Definition:
uoexec.h:32
weak_ptr_owner
Definition:
weakptr.h:30
Pol
Definition:
berror.cpp:12
Pol::Core::UOExecutor::os_module
Module::OSExecutorModule * os_module
Definition:
uoexec.h:37
Pol::Bscript::Executor
Definition:
executor.h:81
pol
uoexec.h
Generated on Wed Oct 10 2018 02:42:33 for Pol by
1.8.11