API Documentation

Updated a year ago

API Documentation

Like I said originally, this mod was never really meant for use outside of my own stuff, but I might as well document it anyway.

To register things as a Void survivor...

  • Use the SurvivorHollower to transform the enemy prefab into a survivor prefab, then...
  • Use XanVoidAPI to bind the necessary information and hooks to the survivor, then...
  • Use VoidDamageTypes on your projectiles and explosions to make them behave like the void attacks, but with more "player-like" behavior, importantly noting that...
    • If you need readily available modified black hole objects that are configurable, use VoidImplosionObjects as most of them have been created for you ahead of time.

To register replicated configuration entries...