20 lines
689 B
C#
20 lines
689 B
C#
using System.Collections.Generic;
|
|
|
|
public record ChunkData(
|
|
int schema,
|
|
string id,
|
|
int x,
|
|
int y,
|
|
string? biome,
|
|
List<ChunkPickup>? pickups,
|
|
List<ChunkGate>? gates,
|
|
List<ChunkNpc>? npcs,
|
|
List<ChunkSpawnZone>? spawn_zones,
|
|
List<ChunkCollisionRect>? collision_rects
|
|
);
|
|
|
|
public record ChunkPickup(string id, string item, int[] pos, int respawn_seconds);
|
|
public record ChunkGate(string id, int[] rect, string requires, string? message);
|
|
public record ChunkNpc(string id, string kind, int[] pos, string @ref);
|
|
public record ChunkSpawnZone(string id, string biome, int[] rect, List<string>? time_windows, List<string>? weather);
|
|
public record ChunkCollisionRect(string id, int[] rect);
|