Cuberite
A lightweight, fast and extensible game server for Minecraft
src
Blocks
GetHandlerCompileTimeTemplate.h
Go to the documentation of this file.
1
2
#pragma once
3
4
class
cBlockTorchHandler
;
5
class
cBlockLeverHandler
;
6
class
cBlockButtonHandler
;
7
class
cBlockTripwireHookHandler
;
8
class
cBlockDoorHandler
;
9
class
cBlockPistonHandler
;
10
11
12
13
14
15
template
<BLOCKTYPE T>
16
class
GetHandlerCompileTime
;
17
18
19
20
21
22
template
<>
23
class
GetHandlerCompileTime
<
E_BLOCK_TORCH
>
24
{
25
public
:
26
typedef
cBlockTorchHandler
type
;
27
};
28
29
30
31
32
33
template
<>
34
class
GetHandlerCompileTime
<
E_BLOCK_LEVER
>
35
{
36
public
:
37
typedef
cBlockLeverHandler
type
;
38
};
39
40
41
42
43
44
template
<>
45
class
GetHandlerCompileTime
<
E_BLOCK_STONE_BUTTON
>
46
{
47
public
:
48
typedef
cBlockButtonHandler
type
;
49
};
50
51
52
53
54
55
template
<>
56
class
GetHandlerCompileTime
<
E_BLOCK_TRIPWIRE_HOOK
>
57
{
58
public
:
59
typedef
cBlockTripwireHookHandler
type
;
60
};
61
62
63
64
65
66
template
<>
67
class
GetHandlerCompileTime
<
E_BLOCK_WOODEN_DOOR
>
68
{
69
public
:
70
typedef
cBlockDoorHandler
type
;
71
};
72
73
74
75
76
77
template
<>
78
class
GetHandlerCompileTime
<
E_BLOCK_PISTON
>
79
{
80
public
:
81
typedef
cBlockPistonHandler
type
;
82
};
83
E_BLOCK_LEVER
@ E_BLOCK_LEVER
Definition:
BlockType.h:83
E_BLOCK_WOODEN_DOOR
@ E_BLOCK_WOODEN_DOOR
Definition:
BlockType.h:285
E_BLOCK_TORCH
@ E_BLOCK_TORCH
Definition:
BlockType.h:60
E_BLOCK_STONE_BUTTON
@ E_BLOCK_STONE_BUTTON
Definition:
BlockType.h:91
E_BLOCK_TRIPWIRE_HOOK
@ E_BLOCK_TRIPWIRE_HOOK
Definition:
BlockType.h:146
E_BLOCK_PISTON
@ E_BLOCK_PISTON
Definition:
BlockType.h:43
cBlockButtonHandler
Definition:
BlockButton.h:19
cBlockDoorHandler
Definition:
BlockDoor.h:18
cBlockLeverHandler
Definition:
BlockLever.h:14
cBlockPistonHandler
Definition:
BlockPiston.h:20
cBlockTorchHandler
Definition:
BlockTorch.h:153
cBlockTripwireHookHandler
Definition:
BlockTripwireHook.h:12
GetHandlerCompileTime
Definition:
GetHandlerCompileTimeTemplate.h:16
GetHandlerCompileTime< E_BLOCK_TORCH >::type
cBlockTorchHandler type
Definition:
GetHandlerCompileTimeTemplate.h:26
GetHandlerCompileTime< E_BLOCK_LEVER >::type
cBlockLeverHandler type
Definition:
GetHandlerCompileTimeTemplate.h:37
GetHandlerCompileTime< E_BLOCK_STONE_BUTTON >::type
cBlockButtonHandler type
Definition:
GetHandlerCompileTimeTemplate.h:48
GetHandlerCompileTime< E_BLOCK_TRIPWIRE_HOOK >::type
cBlockTripwireHookHandler type
Definition:
GetHandlerCompileTimeTemplate.h:59
GetHandlerCompileTime< E_BLOCK_WOODEN_DOOR >::type
cBlockDoorHandler type
Definition:
GetHandlerCompileTimeTemplate.h:70
GetHandlerCompileTime< E_BLOCK_PISTON >::type
cBlockPistonHandler type
Definition:
GetHandlerCompileTimeTemplate.h:81
Generated on Fri Oct 25 2024 05:01:09 for Cuberite by
1.9.1