Night Sky Engine
A fighting game framework made in Unreal Engine
Loading...
Searching...
No Matches
USubroutine Class Reference

A subroutine callable from any player or object state. More...

#include <Subroutine.h>

Inheritance diagram for USubroutine:
Collaboration diagram for USubroutine:

Public Member Functions

void Exec ()
 
- Public Member Functions inherited from USerializableObj
TArray< uint8 > SaveForRollback ()
 
void LoadForRollback (const TArray< uint8 > &InBytes)
 
void ResetToCDO ()
 

Public Attributes

ABattleObjectParent
 
FString Name
 

Detailed Description

A subroutine callable from any player or object state.

Allows encapsulating commonly used code that can be reused in states.

Definition at line 18 of file Subroutine.h.

Member Function Documentation

◆ Exec()

void USubroutine::Exec ( )

The primary function of the subroutine.

Member Data Documentation

◆ Name

FString USubroutine::Name

The name of the subroutine. Used to call the subroutine.

Definition at line 33 of file Subroutine.h.

◆ Parent

ABattleObject* USubroutine::Parent

The object that currently owns this subroutine instance. The last object to use this subroutine will be the owner.

Definition at line 27 of file Subroutine.h.


The documentation for this class was generated from the following file: