Class SavedObjects
A capped census of a zone's saved objects (ZDOs), loaded or not. Throws instead of returning a truncated list or the objects of another zone. Run in game by the native acceptance suite's marker observation.
public static class SavedObjects
- Inheritance
-
objectSavedObjects
Fields
MaxZoneIndex
Zones the census can address: the game files zones outside this range under one shared slot.
public const int MaxZoneIndex = 255
Field Value
- int
Methods
InZone(Vector2s, int, Func<ZDO, bool>?)
The saved objects (ZDOs) this process knows in zone, loaded or not, that match
include. On the server that is every saved object there. More than limit
matches throws rather than returning a truncated list. Zones beyond ±MaxZoneIndex are refused: the
game files them all under one slot, whose objects would be returned instead.
public static List<ZDO> InZone(Vector2s zone, int limit, Func<ZDO, bool>? include = null)
Parameters
zoneVector2slimitintincludeFunc<ZDO, bool>
Returns
- List<ZDO>