Is it possible to make a object of a class? and no im not trying to use it as a instance of the class to hook
Im just trying to replicate the c# function
Player_player = new Player(this);
Don't hook the fields if hooking getter function works.
getter function returns value from fields. setter function set value to a field.
To understand more clear
public int get_coin() {
return this.<_coinCount>k__BackingField;
}
public void set_coin(int value) {...
No, LocalStore is NULL because it's not initialized. I suppose that you're trying to hook field in LocalStore through Update function outside the LocalStore class.
To fix your hook initialize LocalStore before hooking the field
void *LocalStore; //DECLARING A GLOBAL VARIABLE
void...
Output it like you normally
First loop through playerlist
for (int i = 0; i < players->getLength(); i++) {
auto currentPlayerBeningLooped = players->getPointer();
//THE SITE WOULDN'T LET ME ADD BRACKET JUST ADD OPENING BRACKET, INT VARIABLE NAME WHICH IS 'I' AND CLOSING BRACKET
auto playerName...
I'm losing my mind and still can't figure out how to hook this can someone help me?
I tried hooking this
public ArrayList AvailableGuns() {}
By many methods one is
monoArray<void *> *(*GunArr)();
monoArray<void *> *_GunArr)() {
If (instance!= NULL) {
//HOOK GOES HERE
}
return...