Skip to main content

NetworkColliderGroup.CollisionIgnoreArguments

A private struct in Root.Township, Alta.Networking. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Message payload a NetworkColliderGroup sends to chunks to make collisions with another entity be ignored or restored.

Constructors​

MemberWhat it is
CollisionIgnoreArguments(NetworkEntity otherEntity, bool isIgnoring)Creates a NetworkColliderGroup.CollisionIgnoreArguments from otherEntity and isIgnoring.

Fields​

2 private and internal fields
MemberWhat it is
private bool isIgnoringBacking field for IsIgnoring.
private uint otherIdentifierBacking field for OtherIdentifier.

Properties​

MemberWhat it is
bool IsIgnoring { get; }Whether collisions should be ignored (true) or restored (false).
uint OtherIdentifier { get; }Network identifier of the other entity.

Methods​

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

Used in​

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