Main Page
Related Pages
Classes
Files
File List
core
func_ref.h
1
#ifndef FUNC_REF_H
2
#define FUNC_REF_H
3
4
#include "reference.h"
5
6
class
FuncRef
:
public
Reference
{
7
8
OBJ_TYPE(
FuncRef
,
Reference
);
9
ObjectID id;
10
StringName
function
;
11
12
protected
:
13
14
static
void
_bind_methods();
15
public
:
16
17
Variant
call_func(
const
Variant
** p_args,
int
p_argcount,
Variant::CallError
& r_error);
18
void
set_instance(
Object
*p_obj);
19
void
set_function(
const
StringName
& p_func);
20
FuncRef
();
21
};
22
23
#endif // FUNC_REF_H
Variant
Definition:
variant.h:74
FuncRef
Definition:
func_ref.h:6
StringName
Definition:
string_db.h:48
Reference
Definition:
reference.h:40
Object
Definition:
object.h:317
Variant::CallError
Definition:
variant.h:379
Generated on Wed Jul 13 2016 13:20:59 by
1.8.11