Behavior

@JvmInline
value class Behavior(mask: Int)

Represents a view how to behave in a group.

Each bit means:

  • 0 Whether the group state changes will be triggered.

  • 1 Whether the group state changes will be responded. Example:

  • 0x00: Does not respond and does not trigger. (Only triggers itself)

  • 0x01: Triggers but does not respond.

  • 0x10: Responds but does not trigger.

  • 0x11: Responds and triggers.

Constructors

Link copied to clipboard
constructor(mask: Int)

Types

Link copied to clipboard
object Companion

Holds behavior constants

Functions

Link copied to clipboard

Bitwise operator to combine two Behavior instances.

Link copied to clipboard
open override fun toString(): String