82 Position const& spawn = plot->PacketInfo.PlotPos.Pos;
123 return owner->GetGarrison();
#define MAX_NUMBER_OF_CELLS
#define TC_LOG_DEBUG(filterType__, message__,...)
ObjectGuid const & GetGUID() const
static GameObject * CreateGameObject(uint32 entry, Map *map, Position const &pos, QuaternionData const &rotation, uint32 animProgress, GOState goState, uint32 artKit=0)
void AddToWorld() override
void Visit(GridRefManager< T > &)
GarrisonGridLoader(NGridType *grid, GarrisonMap *map, Cell const &cell)
void Visit(GameObjectMapType &m)
static void SetObjectCell(T *obj, CellCoord const &cellCoord)
bool AddPlayerToMap(Player *player, bool initPlayer=true) override
Player * _loadingPlayer
@workaround Player is not registered in ObjectAccessor during login
void LoadGridObjects(NGridType *grid, Cell const &cell) override
GarrisonMap(uint32 id, time_t, uint32 instanceId, ObjectGuid const &owner)
void InitVisibilityDistance() override
static constexpr GarrisonFactionIndex GetFaction(Team team)
std::vector< Plot * > GetPlots()
void AddToGrid(GridRefManager< T > &m)
virtual bool AddPlayerToMap(Player *player, bool initPlayer=true)
int32 m_VisibilityNotifyPeriod
virtual void LoadGridObjects(NGridType *grid, Cell const &cell)
void VisitGrid(uint32 x, uint32 y, TypeContainerVisitor< VISITOR, WORLD_OBJECT_CONTAINER > &visitor)
uint32 GetGridId(void) const
static void SetObjectCell(MapObject *obj, CellCoord const &cellCoord)
Garrison * GetGarrison() const
@ CONFIG_VISIBILITY_NOTIFY_PERIOD_INSTANCE
@ CONFIG_MAX_VISIBILITY_DISTANCE_INSTANCE
TC_GAME_API Player * FindConnectedPlayer(ObjectGuid const &)
CellCoord ComputeCellCoord(float x, float y)
CellCoord GetCellCoord() const
struct Cell::@299::@300 Part
constexpr float GetPositionX() const
constexpr float GetPositionY() const