diff options
author | BDKPlayer <fabian.stotz@yahoo.de> | 2020-04-01 11:29:39 +0200 |
---|---|---|
committer | BDKPlayer <fabian.stotz@yahoo.de> | 2020-04-01 11:29:39 +0200 |
commit | 1d01371aebc416819af2ddd8e77c86e762011314 (patch) | |
tree | be692883d4d09fa84c686a579cba76e3f2cde516 /Classes.h | |
parent | 78ddf8f82467c64d8653cea199e1f435afe41b76 (diff) |
Updated to game version 101.101.36202.0 4819260
Diffstat (limited to 'Classes.h')
-rw-r--r-- | Classes.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -303,7 +303,13 @@ public: return reinterpret_cast<Vector3*>(actionMoveTo + 0x38); } - + + typedef char(__fastcall* fhsMoveToCaller)(Unit* unit, Unit* targetUnit, World* world, int64_t zero, float xPos, float yPos, int zero2); + void MoveTo(World* world, float xPos, float yPos) + { + static fhsMoveToCaller moveUnitCaller = (fhsMoveToCaller)((int64_t)GetModuleHandle(NULL) + 0xc863a0); + moveUnitCaller(this, 0, world, 0, xPos, yPos, 0); + } }; //Size=0x0250 |