Separated chunk generator from world / plugin interfaces.
The generator now only takes care of servicing synchronous "GetChunk(X, Y)" and "GetBiomes(X, Y)" requests.
This commit is contained in:
@@ -21,9 +21,9 @@ protected:
|
||||
|
||||
std::shared_ptr<cSpawnPrepare> m_SpawnPrepare;
|
||||
|
||||
virtual void Call(int a_ChunkX, int a_ChunkZ, bool a_IsSuccess) override
|
||||
virtual void Call(cChunkCoords a_Coords, bool a_IsSuccess) override
|
||||
{
|
||||
m_SpawnPrepare->PreparedChunkCallback(a_ChunkX, a_ChunkZ);
|
||||
m_SpawnPrepare->PreparedChunkCallback(a_Coords.m_ChunkX, a_Coords.m_ChunkZ);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user