Skip to main content

Auki::AukiModule

Base class for ConjureKit modules.

Inherits from Auki.IAukiModule

Public Functions

Name
virtual Tuple< uint, uint >_GetMessageTypeRange()
(Internal) Returns the message type range expected by the module.
virtual void_HandleMessage(uint messageType, byte[] data)
(Internal) Handles a message.
virtual void_Update()
(Internal) Game loop per-frame update.
AukiModule(IConjureKit conjureKit)
Base constructor for AukiModules.

Public Attributes

Name
Tuple< uint, uint >NoMessageRange
(Internal) Default range for no messages expected by the module.

Protected Attributes

Name
IConjureKit_conjureKit
(Internal) IConjureKit-implementing object that manages the module.

Public Functions Documentation

function _GetMessageTypeRange

virtual Tuple< uint, uint > _GetMessageTypeRange()

(Internal) Returns the message type range expected by the module.

Return: Message type range tuple

function _HandleMessage

virtual void _HandleMessage(
uint messageType,
byte[] data
)

(Internal) Handles a message.

Parameters:

  • messageType Message type
  • data Byte array-encoded data

function _Update

virtual void _Update()

(Internal) Game loop per-frame update.

function AukiModule

AukiModule(
IConjureKit conjureKit
)

Base constructor for AukiModules.

Parameters:

  • conjureKit IConjureKit-implementing object

Exceptions:

  • Exception Throws an exception if the IConjureKit-implementing object is null

Public Attributes Documentation

variable NoMessageRange

static Tuple< uint, uint > NoMessageRange = new (0, 0);

(Internal) Default range for no messages expected by the module.

Protected Attributes Documentation

variable _conjureKit

IConjureKit _conjureKit;

(Internal) IConjureKit-implementing object that manages the module.