Skip to content

Struct: ReactionChain ​

  • Namespace: Global
  • Assembly: Dew.Core.dll
csharp
public struct ReactionChain

Methods ​

DidReact(Actor, bool) ​

Check if the actor has already contributed to this reaction chain.

csharp
public bool DidReact(Actor actor, bool checkOnlyType = false)

Parameters:

NameTypeDescription
actorActor
checkOnlyTypebool

Returns: bool

Equals(ReactionChain) ​

csharp
public bool Equals(ReactionChain other)

Parameters:

NameTypeDescription
otherReactionChain

Returns: bool

Equals(object) ​

csharp
public override bool Equals(object obj)

Parameters:

NameTypeDescription
objobject

Returns: bool

GetHashCode() ​

csharp
public override int GetHashCode()

Returns: int

New(Actor) ​

Returns new reaction chain with given actor in contribution.

csharp
public ReactionChain New(Actor actor)

Parameters:

NameTypeDescription
actorActor

Returns: ReactionChain

Maintained by the Shape of Dreams Modding Community