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.
1.png

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.

Snipaste_2024-09-25_16-27-59.png
Snipaste_2024-09-25_16-18-55.png

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
    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?
 
Back
Top Bottom