forked from leftspace89/pPlat
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathWhite.hpp
More file actions
36 lines (29 loc) · 659 Bytes
/
White.hpp
File metadata and controls
36 lines (29 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#pragma once
class White final : public pComponent
{
public :
White();
virtual ~White();
virtual void onMenu();
virtual void onProcessSpell(SpellData* spelldata, SpellCastInfo* spellcastinfo);
void ClickRightMouseButton();
void onStart() override
{
auto local = ObjectManager::GetPlayer();
string* a = &local->GetName();
ENGINE_MSG(a->c_str());
}
void onUpdate() override
{
if (GetAsyncKeyState(VK_KEYBOARD_V))
{
ClickRightMouseButton();
}
}
void onRender() override
{
auto local = ObjectManager::GetPlayer();
int pcolor = 0xFF0000;
//lol::r3dDrawCircle.Call(&local->GetPosition(), 100,& pcolor, 0, 0, 0, 1);
}
};