ClusterEntitiesRegisterArguments
A struct in Root.Township, the global namespace.
Message a RockCluster sends a joining player with its boulder definition and the IDs of its part entities, so the client can match them up.
Constructors
| Member | What it is |
|---|
ClusterEntitiesRegisterArguments(uint optionHash, int count, uint[] entities) | Creates a ClusterEntitiesRegisterArguments from optionHash, count and entities. |
Fields
3 private and internal fields
| Member | What it is |
|---|
private uint[] entities | Backing field for Entities. |
private uint optionHash | Backing field for Option. |
private uint quantityEntities | Number of part IDs in entities. |
Properties
| Member | What it is |
|---|
uint[] Entities { get; } | Entity identifiers of the cluster's parts. |
uint Option { get; } | Hash of the cluster's boulder definition, sent in 16 bits. |
Methods
| Member | What it is |
|---|
void Serialize(IPlayer player, Stream stream) | Reads or writes the definition hash, part count (8 bits, so at most 255) and part IDs. |
Used in
Members of other types that take, return or hold a ClusterEntitiesRegisterArguments: