*Update to Mangos 7125.
--HG-- branch : trunk
This commit is contained in:
@@ -76,12 +76,12 @@ class TRINITY_DLL_DECL NGrid
|
||||
const GridType& operator()(unsigned short x, unsigned short y) const { return i_cells[x][y]; }
|
||||
GridType& operator()(unsigned short x, unsigned short y) { return i_cells[x][y]; }
|
||||
|
||||
inline const uint32& GetGridId(void) const { return i_gridId; }
|
||||
inline void SetGridId(const uint32 id) const { i_gridId = id; }
|
||||
inline grid_state_t GetGridState(void) const { return i_cellstate; }
|
||||
inline void SetGridState(grid_state_t s) { i_cellstate = s; }
|
||||
inline int32 getX() const { return i_x; }
|
||||
inline int32 getY() const { return i_y; }
|
||||
const uint32& GetGridId(void) const { return i_gridId; }
|
||||
void SetGridId(const uint32 id) const { i_gridId = id; }
|
||||
grid_state_t GetGridState(void) const { return i_cellstate; }
|
||||
void SetGridState(grid_state_t s) { i_cellstate = s; }
|
||||
int32 getX() const { return i_x; }
|
||||
int32 getY() const { return i_y; }
|
||||
|
||||
void link(GridRefManager<NGrid<N, ACTIVE_OBJECT, WORLD_OBJECT_TYPES, GRID_OBJECT_TYPES, ThreadModel> >* pTo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user