consume
consume: (BeforeMenuRender) -> ()Skip the client's drawing of the menu this frame.
| Method | Returns | Description |
|---|---|---|
consume() | () | Skip the client's drawing of the menu this frame. |
isConsumed() | boolean | Whether a subscriber consumed it. |
setConsumed(boolean) | () | Consume it, or take a consume back. |
| Field | Type | Description |
|---|---|---|
__eventClass | string | "BeforeMenuRender": the class's name, which host APIs that take the class itself read. |
consumeconsume: (BeforeMenuRender) -> ()Skip the client's drawing of the menu this frame.
isConsumedisConsumed: (BeforeMenuRender) -> booleanWhether a subscriber consumed it.
setConsumedsetConsumed: (BeforeMenuRender, boolean) -> ()Consume it, or take a consume back.