Reports whether the RakNet feature is enabled in the loader. When this is false the rest of the library is inert.
RakNet is off by default. The library exists only when the RakNet feature is enabled in the Athena loader, and it is published on getgenv() rather than as a plain global. Guard your code with if getgenv().raknet then ... end, or read raknet.is_enabled.

Returns

boolean
true when the feature is on.

Behavior

  • This is the loader setting, not the state of the interception. For whether the transport is actually intercepted right now, read hooked.

Example

  • hooked: whether interception is live.