Expand description
The bus’s messages for Java: a record per event (dev.yog.bus.YogEvents)
and per service (YogServices), from the same schemas, that encodes
itself and goes on the bus — the host fires events and calls services
through these instead of a JNI method each, and reads the replies.
Enums§
- Side
- Which code a generated class belongs to: the API’s (any Java’s, the
scripts’ too:
java-api) or the host’s (java-common).
Constants§
- EVENTS
- The classes of the events’ and the services’ records.
- PACKAGE
- The package the bus’s Java classes are in (
java-common’s). - SERVICES
- TYPES
- The class holding the payloads’ records every message shares (
BlockPos…).
Functions§
- field
- A payload field’s Java name:
player_name→playerName,interface→interface_. - files
- Every generated class: its side, name and text.
- record_
path - A record’s path in its class: its domain’s (or plane’s) segments and
its name —
World.SetBlock,Player.Session.Join.