Files
RobustToolbox/Robust.Shared/Map/IMapChunkInternal.cs
Pieter-Jan Briers 22cf53fd1c Optimizations:
Use PLINQ for prototype loading. Most of the time is spent reading YAML so this should help a lot.
Don't regenerate collision for every tile placed by the map loader.
2020-01-15 16:13:22 +01:00

25 lines
620 B
C#

using System.Collections.Generic;
using Robust.Shared.Maths;
using Robust.Shared.Timing;
namespace Robust.Shared.Map
{
/// <inheritdoc />
internal interface IMapChunkInternal : IMapChunk
{
bool SuppressCollisionRegeneration { get; set; }
void RegenerateCollision();
/// <summary>
/// The last game simulation tick that this chunk was modified.
/// </summary>
GameTick LastModifiedTick { get; }
/// <summary>
/// The physical collision boxes of this chunk.
/// </summary>
IEnumerable<Box2> CollisionBoxes { get; }
}
}