Phasor
01.00.10.059
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Phasor
CallHelper.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Scripting.h
"
4
5
namespace
halo {
6
struct
ident
;
7
struct
s_player
;
8
}
9
10
namespace
scripting {
11
12
static
const
results_t
result_bool = {
Common::TYPE_BOOL
};
13
static
const
results_t
result_number = {
Common::TYPE_NUMBER
};
14
22
void
AddPlayerArg
(
const
halo::s_player
* player, PhasorCaller& caller);
23
void
AddArgIdent
(
const
halo::ident
id
, PhasorCaller& caller);
24
25
template
<
class
T> T
HandleResult
(
Result
& result,
const
T& default_value);
26
27
enum
e_ident_bool_empty
{
28
kIdentSet
= 0,
29
kBoolSet
,
30
kEmptySet
31
};
32
33
e_ident_bool_empty
HandleResultIdentOrBool
(
Result
& result,
halo::ident
&
id
,
bool
& b);
34
}
Generated on Mon Jul 22 2013 17:09:01 for Phasor by
1.8.2-20121118