EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BookmarkService Class Reference

#include "BookmarkService.h"

Inheritance diagram for BookmarkService:
Collaboration diagram for BookmarkService:

Public Member Functions

 BookmarkService (PyServiceMgr *mgr)
 
virtual ~BookmarkService ()
 
bool LookupBookmark (uint32 bookmarkID, uint32 &itemID, uint16 &typeID, uint32 &locationID, double &x, double &y, double &z)
 
- Public Member Functions inherited from PyService
 PyService (PyServiceMgr *mgr, const char *serviceName)
 
virtual ~PyService ()
 
virtual PyResult Call (const std::string &method, PyCallArgs &args)
 
const char * GetName () const
 
- Public Member Functions inherited from PyCallable
 PyCallable ()
 
virtual ~PyCallable ()
 

Protected Member Functions

 PyCallable_DECL_CALL (GetBookmarks)
 
 PyCallable_DECL_CALL (BookmarkLocation)
 
 PyCallable_DECL_CALL (DeleteBookmarks)
 
 PyCallable_DECL_CALL (CreateFolder)
 
 PyCallable_DECL_CALL (UpdateFolder)
 
 PyCallable_DECL_CALL (DeleteFolder)
 
 PyCallable_DECL_CALL (MoveBookmarksToFolder)
 
 PyCallable_DECL_CALL (CopyBookmarks)
 
 PyCallable_DECL_CALL (AddBookmarkFromVoucher)
 
 PyCallable_DECL_CALL (BookmarkScanResult)
 
- Protected Member Functions inherited from PyService
PyObject_BuildCachedReturn (PySubStream **result, const char *sessionInfo, CacheCheckTime check)
 
virtual PyBoundObjectCreateBoundObject (Client *pClient, const PyRep *bind_args)
 
virtual PyResult Handle_MachoResolveObject (PyCallArgs &call)
 
virtual PyResult Handle_MachoBindObject (PyCallArgs &call)
 
- Protected Member Functions inherited from PyCallable
void _SetCallDispatcher (CallDispatcher *d)
 

Protected Attributes

Dispatcher *const m_dispatch
 
uint32 nextBookmarkID
 
BookmarkDB m_db
 
- Protected Attributes inherited from PyService
PyServiceMgr *const m_manager
 

Additional Inherited Members

- Protected Types inherited from PyService
enum  CacheCheckTime {
  check_Always = 0, check_Never, check_in_year, check_in_6_months,
  check_in_3_months, check_in_1_month, check_in_1_week, check_in_1_day,
  check_in_12_hours, check_in_6_hours, check_in_3_hours, check_in_2_hours,
  check_in_1_hour, check_in_30_minutes, check_in_15_minutes, check_in_5_minutes,
  check_in_1_minute, check_in_30_seconds, check_in_15_seconds, check_in_5_seconds,
  check_in_1_second, _checkCount
}
 
- Static Protected Attributes inherited from PyService
static const char *const s_checkTimeStrings [_checkCount]
 

Detailed Description

Definition at line 34 of file BookmarkService.h.

Constructor & Destructor Documentation

BookmarkService::BookmarkService ( PyServiceMgr mgr)
BookmarkService::~BookmarkService ( )
virtual

Definition at line 70 of file BookmarkService.cpp.

References m_dispatch.

70  {
71  delete m_dispatch;
72 }
Dispatcher *const m_dispatch

Member Function Documentation

bool BookmarkService::LookupBookmark ( uint32  bookmarkID,
uint32 itemID,
uint16 typeID,
uint32 locationID,
double &  x,
double &  y,
double &  z 
)

Definition at line 74 of file BookmarkService.cpp.

References BookmarkDB::GetBookmarkInformation(), and m_db.

74  {
75  return m_db.GetBookmarkInformation(bookmarkID, itemID, typeID, locationID, x, y, z);
76 }
itemID[count] Create count or of the specified() x() y(z)-Jump to the specified position in space.Stopped." ) COMMAND( translocate
bool GetBookmarkInformation(uint32 bookmarkID, uint32 &itemID, uint16 &typeID, uint32 &locationID, double &x, double &y, double &z)
Definition: BookmarkDB.cpp:205
typeID Spawn an NPC with the specified type text Search for items matching the specified query() type()() itemID() copy() materialLevel()() itemID(attributeID)-Retrieves attribute value." ) COMMAND( setattr

Here is the call graph for this function:

BookmarkService::PyCallable_DECL_CALL ( GetBookmarks  )
protected
BookmarkService::PyCallable_DECL_CALL ( BookmarkLocation  )
protected
BookmarkService::PyCallable_DECL_CALL ( DeleteBookmarks  )
protected
BookmarkService::PyCallable_DECL_CALL ( CreateFolder  )
protected
BookmarkService::PyCallable_DECL_CALL ( UpdateFolder  )
protected
BookmarkService::PyCallable_DECL_CALL ( DeleteFolder  )
protected
BookmarkService::PyCallable_DECL_CALL ( MoveBookmarksToFolder  )
protected
BookmarkService::PyCallable_DECL_CALL ( CopyBookmarks  )
protected
BookmarkService::PyCallable_DECL_CALL ( AddBookmarkFromVoucher  )
protected
BookmarkService::PyCallable_DECL_CALL ( BookmarkScanResult  )
protected

Member Data Documentation

BookmarkDB BookmarkService::m_db
protected

Definition at line 48 of file BookmarkService.h.

Referenced by LookupBookmark().

Dispatcher* const BookmarkService::m_dispatch
protected

Definition at line 44 of file BookmarkService.h.

Referenced by ~BookmarkService().

uint32 BookmarkService::nextBookmarkID
protected

Definition at line 46 of file BookmarkService.h.


The documentation for this class was generated from the following files: