Step 2: Finding the right class

What game logic will you piggyback on?

Summary

This page will list useful classes and tell you where to find more information about them.

Explanation

When you're completely lost, how do you find the right class?

Classes (and what they do)

PlayerPuppet

public class PlayerPuppet extends ScriptedPuppet

This class is the Player and handles most of the events and logic related to player

Examples

protected cb func OnGameAttached() -> Bool

This function is called when the GameInstance is attached to the Player

DamageSystem

public final native class DamageSystem extends IDamageSystem

This class handles all the events and calculations of the damages done to all the gameobjects from all the sources

Examples

private final func ProcessPipeline(hitEvent: ref<gameHitEvent>, cache: ref<CacheData>) -> Void

This is the starting event that gets called when an object is hit and it has a gameHitEvent variable

Last updated