Pol  Revision:cb584c9
fnsearch.h
Go to the documentation of this file.
1 
7 #ifndef FNSEARCH_H
8 #define FNSEARCH_H
9 
10 #include "../clib/rawtypes.h"
11 #include "utype.h"
12 
13 namespace Pol
14 {
15 namespace Items
16 {
17 class Item;
18 }
19 namespace Mobile
20 {
21 class Character;
22 }
23 namespace Multi
24 {
25 class UMulti;
26 }
27 namespace Core
28 {
29 class UObject;
30 
31 const unsigned SYSFIND_SEARCH_OFFLINE_MOBILES = 1;
32 /*const unsigned SYSFIND_SEARCH_STORAGE_AREAS = 2;*/ // 02-07-2009 Turley obsolete
33 const unsigned SYSFIND_SKIP_WORLD = 4;
34 
36 UObject* system_find_object( u32 serial );
37 // 02-07-2009 Turley removed flag param till someone finds something usefull
38 Items::Item* system_find_item( USERIAL serial /*, int sysfind_flags = 0 */ );
39 Mobile::Character* system_find_mobile( USERIAL serial /*, int sysfind_flags = 0 */ );
40 
45 }
46 }
47 
48 #endif
UObject * system_find_object(u32 serial)
Definition: fnsearch.cpp:23
Items::Item * find_toplevel_item(u32 serial)
Definition: fnsearch.cpp:69
const unsigned SYSFIND_SEARCH_OFFLINE_MOBILES
Definition: fnsearch.h:31
u32 USERIAL
Definition: utype.h:21
unsigned int u32
Definition: rawtypes.h:27
Multi::UMulti * system_find_multi(u32 serial)
Definition: fnsearch.cpp:50
const unsigned SYSFIND_SKIP_WORLD
Definition: fnsearch.h:33
Mobile::Character * find_character(u32 serial)
Definition: fnsearch.cpp:60
Mobile::Character * system_find_mobile(u32 serial)
Definition: fnsearch.cpp:32
Items::Item * system_find_item(u32 serial)
Definition: fnsearch.cpp:41
Definition: berror.cpp:12
UObject * find_toplevel_object(u32 serial)
Definition: fnsearch.cpp:86