Helper methods - TiberiumFusion/TTPlugins GitHub Wiki

This section outlines the static helpers in HHelpers that are available to all plugins. Using helpers can simplify your code and improve compliance with plugin security levels.

These sections only provide a brief overview of each helper and demonstrates how to practically use them.
For complete technical information on any helper, click on its name to visit the TTPlugins technical reference site.


Subsections

The HHelpers class is split into several sections (using nested classes) to improve organization. They are as follows:

  • Top-level helpers - These are mostly methods which use Reflection to find, access, and manipulate types & members.
  • AssetHandling helpers - These deal with XNA assets, such as Texture2D.
  • StringDrawing helpers - These assist in drawing text with ReLogic's subclassed DynamicSpriteFonts.
  • InputReading helpers - These get information about the local player's input, such what Keys are currently held.
  • UIState helpers - These provide information about how the local player is currently interacting with the ingame gui.

Next

Read the Security level compliance article to learn about plugin Security Levels and how to make your plugin compliant with them.

⚠️ **GitHub.com Fallback** ⚠️