refactor(streaming): capture landblock build origin
This commit is contained in:
parent
2216a02de5
commit
090b0354ff
8 changed files with 522 additions and 54 deletions
|
|
@ -15,7 +15,12 @@ public abstract record LandblockStreamJob(uint LandblockId)
|
|||
public sealed record Load(
|
||||
uint LandblockId,
|
||||
LandblockStreamJobKind Kind,
|
||||
ulong Generation = 0) : LandblockStreamJob(LandblockId);
|
||||
ulong Generation = 0,
|
||||
LandblockBuildOrigin Origin = default) : LandblockStreamJob(LandblockId)
|
||||
{
|
||||
public LandblockBuildRequest Request =>
|
||||
new(LandblockId, Kind, Generation, Origin);
|
||||
}
|
||||
public sealed record Unload(
|
||||
uint LandblockId,
|
||||
ulong Generation = 0) : LandblockStreamJob(LandblockId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue