public record class PlacementRequestSomebody asking to be put somewhere. Doc 27 § Placement.
Remarks
Everything the megaserver weighs, and nothing it does not. The three social terms arrive as identities rather than as counts because it is the candidate that knows how many of them are already on it — see ShardCandidate — and the split is what keeps PlacementDirector a pure function of numbers.
⚠ CameFrom is what makes a transfer stick. A player who has just been moved off a shard scores −5 000 against going back to it, which is more than a guild and every friend they have put together. Without it a drain and a placement disagree politely with each other for as long as the player is patient.
Fields and properties (6)
public PlayerKey PlayerWho is asking.
public ShardKey KeyThe map, region and version they may be placed on. Every hard filter is this value.
public Guid PartyTheir party, or Empty.
public Guid GuildTheir guild, or Empty.
public string LocaleTheir language tag — en-GB, de. Compared verbatim, never interpreted.
public ShardId CameFromThe shard they were just moved off, if any.
Methods (1)
public override string ToString()Returns a string that represents the current object.
Used by (5)
- FleetSimulationVixen.Live.Orchestrator.Tests
- MapCoordinatorVixen.Live.Orchestrator
- PlacementDirectorVixen.Live.Orchestrator
- PlacementDirectorTestsVixen.Live.Orchestrator.Tests
- PlacementWeightsTestsVixen.Live.Orchestrator.Tests