Lecture 60 - What I recognize

PositionReport.cpp

Recognized:

  • Include header files
  • Class names (Prefix with U)
  • Types (void)

Not Recognized:

  • Variable names such as DeltaTime, TickType, ThisTickFunction etc.

PositionReport.h

Recognized:
-Pragma Once
-.h files
-Public and protected

Not Recognized:

  • Multiple Publics
  • type virtual void
    -Class syntax with meta

PositionReporter.h

Not Recognized:
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
ESCAPEROOM_API
GENERATED_BODY()

Recognized:
Inheritance from UActorComponent
virtual methods inherited from base but are overriden in this class(I guess)

PositionReporter.cpp:
Recognize:
Constructor
Each method calls its base implementation through Super

Confused/Not Recognized:
PrimaryComponentTick.bCanEverTick = true;

Recognised:

  • #include
  • Member properties
  • Member functions/methods
  • Constructor

Did NOT recognise:

  • The particular methods
  • Super
  • The specialized types
  • virtual keyword
  • override keyword
  • Specialized macros

Hey guys,

In the header file I recognise the various includes, the class declaration and inheritance to UActorComponent,
I recognise there is a macro going on with GENERATED_BODY(),
the init method, and method declarations (although unsure about virtual keyword at this time so going to look that up now!)

In the implementation I recognise the implementation of the init method, calls to super class methods as well as references to things like delta time (time elapsed between frame updates) although unsure about ticktimes and the word tick in general.

Off to check out virtual methods!

#LLAP

keyword virtual is responsible of polymorphism
override maybe means that this function is override from parents class, because virtual function must be override
but Super I don;t know what means such keyword has Java Python… but it dose not exist in C++
I also have a few question:

what means underline order?
what is different inheritance and components?
components is inheritance or not?
and the object which is created in the lecture is component or inheritance object?

Privacy & Terms