-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsource.txt
More file actions
36 lines (32 loc) · 801 Bytes
/
source.txt
File metadata and controls
36 lines (32 loc) · 801 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
36
using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using GooseShared;
namespace Honcker
{
// Token: 0x02000002 RID: 2
public class ModMain : IMod
{
// Token: 0x06000001 RID: 1
[DllImport("user32.dll")]
public static extern short GetAsyncKeyState(Keys vKey);
// Token: 0x06000002 RID: 2 RVA: 0x00002050 File Offset: 0x00000250
public void Init()
{
InjectionPoints.PreTickEvent += this.PreTick;
}
// Token: 0x06000003 RID: 3 RVA: 0x00002063 File Offset: 0x00000263
public void PreTick(GooseEntity goose)
{
if (ModMain.GetAsyncKeyState(Keys.F12) != 0)
{
API.Goose.setCurrentTaskByID(goose, "CollectMeme", true);
return;
}
}
// Token: 0x06000004 RID: 4 RVA: 0x00002085 File Offset: 0x00000285
public ModMain()
{
}
}
}