1>d:\source\_common\pveeventmng.h(321): error C2819: "PVE_EVENT_MAP" type has no overloaded member "operator ->"
1>d:\source\_common\pveeventmng.h(123): note: See the statement of "PVE_EVENT_MAP"
1>d:\source\_common\pveeventmng.h(321): note: Do you want to use "." instead?
1>d:\source\_common\pveeventmng.h(321): error C2232: "->PVE_EVENT_MAP::vPosSpawn": The left operand has a "struct" type, use "."
1>d:\source\_common\pveeventmng.h(328): error C2679: Binary "&&": No operator that accepts the right operand of type "_Ty2" was found (or no acceptable conversion)
D3DXVECTOR3 GetPlayerSpawn(_In_ DWORD dwMapID)
{
MAP_PVE_MATCH_MAPS::iterator it = m_map_MatchMaps.find(dwMapID);
if (it != m_map_MatchMaps.end() && it->second)
return it->second->vPosSpawn;
return D3DXVECTOR3(0.0f, 0.0f, 0.0f);
}
D3DXVECTOR3 GetMonsterSpawn(_In_ DWORD dwMapID, _In_ int nSpawn)
{
MAP_PVE_MATCH_MAPS::iterator it = m_map_MatchMaps.find(dwMapID);
if (it != m_map_MatchMaps.end() && it->second)
return it->second->vPos[nSpawn];
return D3DXVECTOR3(0.0f, 0.0f, 0.0f);
}
D3DXVECTOR3 GetStatueSpawn(_In_ DWORD dwMapID)
{
MAP_PVE_MATCH_MAPS::iterator it = m_map_MatchMaps.find(dwMapID);
if (it != m_map_MatchMaps.end() && it->second)
return it->second->vPosStatue;