This is the AMP version of this page.
If you want to load the real page instead, click this text.

Help! How to call a static function with special parameters?

mosss0

Rookie
This is a purchase function with two parameters, which belongs to the MechaManager class. The class does not have an update method.

I found that the first parameter can be obtained in the method shown below, which belongs to the Gamedata class. The class does not have an update method, but it has a Fields.


I'm a beginner, and I want to use Dobby Hook to implement this. How should I call the BuyProp function?
 

Attachments

  • Snipaste_2024-09-25_16-18-55.png
    2.8 KB · Views: 15
This is a purchase function with two parameters, which belongs to the MechaManager class. The class does not have an update method.
View attachment 669597
I found that the first parameter can be obtained in the method shown below, which belongs to the Gamedata class. The class does not have an update method, but it has a Fields.

View attachment 669599View attachment 669600
I'm a beginner, and I want to use Dobby Hook to implement this. How should I call the BuyProp function?