TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
PathCommon.h File Reference
#include <string>
#include <vector>
#include "Common.h"
#include <stddef.h>
#include <dirent.h>
+ Include dependency graph for PathCommon.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MMAP
 

Enumerations

enum  NavTerrain {
  NAV_EMPTY = 0x00, NAV_GROUND = 0x01, NAV_MAGMA = 0x02, NAV_SLIME = 0x04,
  NAV_WATER = 0x08, NAV_UNUSED1 = 0x10, NAV_UNUSED2 = 0x20, NAV_UNUSED3 = 0x40,
  NAV_UNUSED4 = 0x80, NAV_EMPTY = 0x00, NAV_GROUND = 0x01, NAV_MAGMA = 0x02,
  NAV_SLIME = 0x04, NAV_WATER = 0x08, NAV_UNUSED1 = 0x10, NAV_UNUSED2 = 0x20,
  NAV_UNUSED3 = 0x40, NAV_UNUSED4 = 0x80
}
 
enum  MMAP::ListFilesResult { MMAP::LISTFILE_DIRECTORY_NOT_FOUND = 0, MMAP::LISTFILE_OK = 1 }
 

Functions

bool MMAP::matchWildcardFilter (const char *filter, const char *str)
 
ListFilesResult MMAP::getDirContents (std::vector< std::string > &fileList, std::string dirpath=".", std::string filter="*")
 

Enumeration Type Documentation

enum NavTerrain
Enumerator
NAV_EMPTY 
NAV_GROUND 
NAV_MAGMA 
NAV_SLIME 
NAV_WATER 
NAV_UNUSED1 
NAV_UNUSED2 
NAV_UNUSED3 
NAV_UNUSED4 
NAV_EMPTY 
NAV_GROUND 
NAV_MAGMA 
NAV_SLIME 
NAV_WATER 
NAV_UNUSED1 
NAV_UNUSED2 
NAV_UNUSED3 
NAV_UNUSED4 
37 {
38  NAV_EMPTY = 0x00,
39  NAV_GROUND = 0x01,
40  NAV_MAGMA = 0x02,
41  NAV_SLIME = 0x04,
42  NAV_WATER = 0x08,
43  NAV_UNUSED1 = 0x10,
44  NAV_UNUSED2 = 0x20,
45  NAV_UNUSED3 = 0x40,
46  NAV_UNUSED4 = 0x80
47  // we only have 8 bits
48 };
Definition: PathCommon.h:41
Definition: PathCommon.h:39
Definition: PathCommon.h:40
Definition: PathCommon.h:45
Definition: PathCommon.h:43
Definition: PathCommon.h:46
Definition: PathCommon.h:42
Definition: PathCommon.h:44
Definition: PathCommon.h:38