Files
fulpstation/code/modules/tgs
github-actions[bot] 7f27cb0b0f Update TGS DMAPI (#1409)
Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com>
2025-04-20 08:23:22 +00:00
..
2024-10-05 09:20:34 -05:00
2024-02-25 16:23:24 -06:00
2025-04-20 08:23:22 +00:00
2024-10-05 09:20:34 -05:00
2024-03-26 23:42:46 -05:00

DMAPI Internals

This folder should be placed on its own inside a codebase that wishes to use the TGS DMAPI. Warranty void if modified.

  • includes.dm is the file that should be included by DM code, it handles including the rest.
  • The core folder includes all code not directly part of any API version.
  • The other versioned folders contain code for the different DMAPI versions.
    • v3210 contains the final TGS3 API.
    • v4 is the legacy DMAPI 4 (Used in TGS 4.0.X versions).
    • v5 is the current DMAPI version used by TGS >=4.1.
  • LICENSE is the MIT license for the DMAPI.

APIs communicate with TGS in two ways. All versions implement TGS -> DM communication using /world/Topic. DM -> TGS communication, called the bridge method, is different for each version.