Skip to content

How to create RegisterX

1. Create RegisterX

< NamePackPage >Impl

  • Right click "Cc< NameCapsule >" -> "New" -> "Operation".

Look Screen. Screenshot


2. Give name:

RegisterX

3. Set protected

Right click RegisterX -> Open Specification -> General: Visibility

Check Protected

4. Set return value:

Open Specification -> RegisterX -> Detail: Return type

void

5. Inherit RegisterX

Open Specification -> RegisterX -> Detail: Code

SUPER::RegisterX();

6. Add Line for xVar

Example

SUPER::RegisterX();

//|# RegisterX for Stamper (CcStamperLogic)

//################################################ Process Params ####################################################################

//|## Section: Process Params

//|### Parameter: PP_PickUp

//| Position to pick up coin

//>

m_xfPickUp.Register( *m_poXAggregation, "PP_PickUp", CrXVar::GUIW_OWNR_INIPO, 0, -10.5, -16, 80);

//<

Warning

Line is just example, for more information check XVariable

7. ...