Continued

This commit is contained in:
2026-06-04 00:06:18 -07:00
parent 8e9b4412ce
commit 5c11ff4fad
42 changed files with 1287 additions and 29 deletions
@@ -0,0 +1,18 @@
using Unity.NetCode;
namespace ProjectM.Simulation
{
/// <summary>
/// Client -&gt; server request to build a structure of <see cref="StructureType"/> at grid cell
/// (<see cref="CellX"/>, <see cref="CellZ"/>). A one-off action, so an RPC (mirrors StorageOpRequest /
/// RegionTransitRequest). StructureType is a byte; the cell is two int scalars (NOT an int2) to stay
/// within the project's scalar-only RPC payload precedent (avoids first-of-its-kind composite-math-in-RPC
/// codegen risk on Netcode 1.13.2). The server re-validates legality + cost authoritatively.
/// </summary>
public struct BuildPlaceRequest : IRpcCommand
{
public byte StructureType;
public int CellX;
public int CellZ;
}
}