Skip to main content

ModificationArguments

A struct in Root.Township, Alta.Networking.

Message payload ModifiableStaticManager sends to chunks when a static scene object's modified state changes: the object's hash and whether it is modified.

Constructors​

MemberWhat it is
ModificationArguments(uint objectHash, bool isModified)Creates a ModificationArguments from objectHash and isModified.

Fields​

2 private and internal fields
MemberWhat it is
private bool isModifiedBacking field for IsModified.
private uint objectHashBacking field for ObjectHash.

Properties​

MemberWhat it is
bool IsModified { get; }Whether the object is now modified.
uint ObjectHash { get; }Hash that identifies the static object.

Methods​

MemberWhat it is
void Serialize(IPlayer player, Stream stream)Reads or writes the hash and flag on the stream.

Used in​

Members of other types that take, return or hold a ModificationArguments: