Skip to content

PrintHitbox

Note

This function only exists in REV02 and above.

Description

Prints a Hitbox variable to the console.

Parameters

mode

The print mode of the message.

message

The label to call the hitbox.

hitbox

The hitbox to print.

Return Value

None.

Syntax

RSDK.PrintHitbox(int32 mode, const char *message, Hitbox hitbox);
Dev::PrintHitbox(PrintModes mode, const char *message, Hitbox hitbox);

Example

RSDK.PrintHitbox(PRINT_NORMAL, "playerHitbox", &self->hitbox);
Dev::PrintHitbox(Dev::PRINT_NORMAL, "playerHitbox", &this->hitbox);