Pol
Revision:cb584c9
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
boatcomp.h
Go to the documentation of this file.
1
9
#ifndef BOATCOMP_H
10
#define BOATCOMP_H
11
12
#include "../../bscript/bobject.h"
13
#include "../../clib/compilerspecifics.h"
14
#include "../../clib/rawtypes.h"
15
#include "../../clib/refptr.h"
16
#include "../item/item.h"
17
#include "../lockable.h"
18
#include "
boat.h
"
19
20
namespace
Pol
21
{
22
namespace
Items
23
{
24
class
ItemDesc;
25
}
// namespace Items
26
namespace
Multi
27
{
28
class
UBoat;
29
}
// namespace Multi
30
}
// namespace Pol
31
32
namespace
Pol
33
{
34
namespace
Bscript
35
{
36
class
BObjectImp;
37
}
38
namespace
Multi
39
{
40
class
UPlank
:
public
Core::ULockable
41
{
42
typedef
Core::ULockable
base
;
43
44
public
:
45
void
setboat(
UBoat
* boat );
46
virtual
~UPlank
(){};
47
virtual
size_t
estimatedSize()
const
POL_OVERRIDE
;
48
49
protected
:
50
explicit
UPlank
(
const
Items::ItemDesc
& descriptor );
51
friend
Items::Item
*
Items::Item::create
(
const
Items::ItemDesc
& descriptor,
u32
serial );
52
53
virtual
void
destroy()
POL_OVERRIDE
;
54
virtual
Bscript::BObjectImp
* get_script_member(
const
char
* membername )
const
POL_OVERRIDE
;
55
virtual
Bscript::BObjectImp
* get_script_member_id(
const
int
id
)
const
POL_OVERRIDE
;
56
57
private
:
58
ref_ptr<UBoat>
boat_
;
59
};
60
}
61
}
62
#endif
Pol::Items::Item::create
static Item * create(u32 objtype, u32 serial=0)
Definition:
itemcr.cpp:53
Pol::Multi::UBoat
Definition:
boat.h:96
POL_OVERRIDE
#define POL_OVERRIDE
Definition:
compilerspecifics.h:74
boat.h
Pol::Multi::UPlank
Definition:
boatcomp.h:40
u32
unsigned int u32
Definition:
rawtypes.h:27
Pol::Items::ItemDesc
Definition:
itemdesc.h:55
ref_ptr
Definition:
refptr.h:65
Pol::Multi::UPlank::~UPlank
virtual ~UPlank()
Definition:
boatcomp.h:46
Pol::Bscript::BObjectImp
Definition:
bobject.h:59
Pol::Items::Item
Definition:
item.h:78
Pol::Multi::UPlank::boat_
ref_ptr< UBoat > boat_
id test
Definition:
boatcomp.h:58
Pol::Core::ULockable
Definition:
lockable.h:37
Pol::Core::FilterType::Multi
Pol
Definition:
berror.cpp:12
Pol::Multi::UPlank::base
Core::ULockable base
Definition:
boatcomp.h:42
pol
multi
boatcomp.h
Generated on Wed Oct 10 2018 02:42:15 for Pol by
1.8.11