IfOpenSub

class IfOpenSub : OutgoingGameMessage

If open-sub messages are used to open non-root interfaces on root interfaces.

Interface types:

| Id |   Name  | Is modal |
|:--:|:-------:|:--------:|
| 0 | Modal | Yes |
| 1 | Overlay | No |
| 3 | Client | Yes |

Note: Client type is supported by the client, but is not actually in use by anything!

Constructors

Link copied to clipboard
constructor(destinationInterfaceId: Int, destinationComponentId: Int, interfaceId: Int, type: Int)
constructor(destinationCombinedId: Int, interfaceId: Int, type: Int)

Properties

Link copied to clipboard
open override val category: ServerProtCategory
Link copied to clipboard
Link copied to clipboard

the component on the destination interface on which the sub interface is being opened

Link copied to clipboard

the destination interface on which the sub interface is being opened

Link copied to clipboard

the sub interface id

Link copied to clipboard
val type: Int

the type of the interface to be opened as (modal, overlay, client)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun estimateSize(): Int
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String