wavelength 1.0.0
Loading...
Searching...
No Matches
Factory< Base >::FactoryUnit< T > Class Template Reference

Builder of the class T. More...

#include <factory.h>

Inheritance diagram for Factory< Base >::FactoryUnit< T >:
Collaboration diagram for Factory< Base >::FactoryUnit< T >:

Public Member Functions

 ~FactoryUnit () override=default
 Release the builder.
Base * Create (BinStream &stream) override
 Construct a T from a stream.
Public Member Functions inherited from Factory< Base >::FactoryUnitBase
virtual ~FactoryUnitBase ()
 Release the builder.

Detailed Description

template<typename Base>
template<typename T>
class Factory< Base >::FactoryUnit< T >

Builder of the class T.

The RTTI includes the nested name.

Template Parameters
TThe class, which has a constructor that takes a BinStream.

Constructor & Destructor Documentation

◆ ~FactoryUnit()

template<typename Base>
template<typename T>
Factory< Base >::FactoryUnit< T >::~FactoryUnit ( )
overridedefault

Release the builder.

The addresses are of the builders of the input commands of World, in the order of the events RotateEvent, PlayNoteEvent, BtnEvent<8>, StickEvent<2>, StickEvent<6>, BtnEvent<3>, BtnEvent<4>, BtnEvent<5>, ChangeSectionEvent, BtnEvent<9>, and BtnEvent<10>.

Ghidra address:
NTSC-U/C: 0x00346c78
Ghidra address:
PAL: 0x003b40c0
Ghidra address:
NTSC-U/C: 0x00346cf8
Ghidra address:
PAL: 0x003b4140
Ghidra address:
NTSC-U/C: 0x00346d78
Ghidra address:
PAL: 0x003b41c0
Ghidra address:
NTSC-U/C: 0x00346df8
Ghidra address:
PAL: 0x003b4240
Ghidra address:
NTSC-U/C: 0x00346e78
Ghidra address:
PAL: 0x003b42c0
Ghidra address:
NTSC-U/C: 0x00346ef8
Ghidra address:
PAL: 0x003b4340
Ghidra address:
NTSC-U/C: 0x00346f78
Ghidra address:
PAL: 0x003b43c0
Ghidra address:
NTSC-U/C: 0x00346ff8
Ghidra address:
PAL: 0x003b4440
Ghidra address:
NTSC-U/C: 0x00347078
Ghidra address:
PAL: 0x003b44c0
Ghidra address:
NTSC-U/C: 0x003470f8
Ghidra address:
PAL: 0x003b4540
Ghidra address:
NTSC-U/C: 0x00347178
Ghidra address:
PAL: 0x003b45c0

Member Function Documentation

◆ Create()

template<typename Base>
template<typename T>
Base * Factory< Base >::FactoryUnit< T >::Create ( BinStream & stream)
inlineoverridevirtual

Construct a T from a stream.

The addresses are in the order of those of the destructor.

Parameters
streamThe stream to read from.
Returns
The object.
Ghidra address:
NTSC-U/C: 0x00347718
Ghidra address:
PAL: 0x003b4ae0
Ghidra address:
NTSC-U/C: 0x003476c0
Ghidra address:
PAL: 0x003b4a88
Ghidra address:
NTSC-U/C: 0x00347658
Ghidra address:
PAL: 0x003b4a30
Ghidra address:
NTSC-U/C: 0x003475d0
Ghidra address:
PAL: 0x003b49b8
Ghidra address:
NTSC-U/C: 0x00347548
Ghidra address:
PAL: 0x003b4940
Ghidra address:
NTSC-U/C: 0x003474e0
Ghidra address:
PAL: 0x003b48e8
Ghidra address:
NTSC-U/C: 0x00347478
Ghidra address:
PAL: 0x003b4890
Ghidra address:
NTSC-U/C: 0x00347410
Ghidra address:
PAL: 0x003b4838
Ghidra address:
NTSC-U/C: 0x003473b8
Ghidra address:
PAL: 0x003b47e0
Ghidra address:
NTSC-U/C: 0x00347350
Ghidra address:
PAL: 0x003b4788
Ghidra address:
NTSC-U/C: 0x003472e8
Ghidra address:
PAL: 0x003b4730

Implements Factory< Base >::FactoryUnitBase.


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