Pol  Revision:cb584c9
uoexhelp.h
Go to the documentation of this file.
1 
7 #ifndef UOEXHELP_H
8 #define UOEXHELP_H
9 #include "skillid.h"
10 
11 namespace Pol
12 {
13 namespace Bscript
14 {
15 class Executor;
16 }
17 namespace Mobile
18 {
19 class Attribute;
20 class Character;
21 }
22 namespace Items
23 {
24 class Item;
25 class ItemDesc;
26 }
27 namespace Multi
28 {
29 class UBoat;
30 class UMulti;
31 }
32 namespace Network
33 {
34 class Client;
35 }
36 namespace Core
37 {
38 class UObject;
39 class Vital;
40 
41 
42 bool getCharacterParam( Bscript::Executor& exec, unsigned param, Mobile::Character*& chr );
43 bool getItemParam( Bscript::Executor& exec, unsigned param, Items::Item*& item );
44 bool getUObjectParam( Bscript::Executor& exec, unsigned param, UObject*& objptr );
45 bool getObjtypeParam( Bscript::Executor& exec, unsigned param, unsigned int& objtype );
46 bool getObjtypeParam( Bscript::Executor& exec, unsigned param, const Items::ItemDesc*& itemdesc );
47 bool getSkillIdParam( Bscript::Executor& exec, unsigned param, USKILLID& skillid );
48 bool getUBoatParam( Bscript::Executor& exec, unsigned param, Multi::UBoat*& boat );
49 bool getMultiParam( Bscript::Executor& exec, unsigned param, Multi::UMulti*& multi );
50 bool getAttributeParam( Bscript::Executor& exec, unsigned param, const Mobile::Attribute*& attr );
51 bool getVitalParam( Bscript::Executor& exec, unsigned param, const Vital*& vital );
52 bool getCharacterOrClientParam( Bscript::Executor& exec, unsigned param, Mobile::Character*& chrptr,
53  Network::Client*& clientptr );
54 }
55 }
56 #endif
bool getAttributeParam(Executor &exec, unsigned param, const Mobile::Attribute *&attr)
Definition: uoexhelp.cpp:610
bool getVitalParam(Executor &exec, unsigned param, const Vital *&vital)
Definition: uoexhelp.cpp:627
bool getCharacterParam(Bscript::Executor &exec, unsigned param, Mobile::Character *&chrptr)
Definition: uoexhelp.cpp:140
bool getCharacterOrClientParam(Executor &exec, unsigned param, Mobile::Character *&chrptr, Network::Client *&clientptr)
Definition: uoexhelp.cpp:43
bool getItemParam(Executor &exec, unsigned param, Items::Item *&itemptr)
Definition: uoexhelp.cpp:219
bool getObjtypeParam(Executor &exec, unsigned param, unsigned int &objtype)
Definition: uoexhelp.cpp:400
bool getUObjectParam(Executor &exec, unsigned param, UObject *&objptr)
Definition: uoexhelp.cpp:369
bool getMultiParam(Executor &exec, unsigned param, Multi::UMulti *&multiptr)
Definition: uoexhelp.cpp:323
bool getSkillIdParam(Executor &exec, unsigned param, USKILLID &skillid)
Definition: uoexhelp.cpp:594
Definition: berror.cpp:12
bool getUBoatParam(Executor &exec, unsigned param, Multi::UBoat *&boatptr)
Definition: uoexhelp.cpp:262