-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a077fb
commit 18a2803
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using JNNJMods.CrabGameCheat.Util; | ||
using JNNJMods.UI; | ||
using JNNJMods.UI.Elements; | ||
|
||
namespace JNNJMods.CrabGameCheat.Modules | ||
{ | ||
[CheatModule] | ||
public class TriggerDropModule : SingleElementModule<ButtonInfo> | ||
{ | ||
public TriggerDropModule(ClickGUI gui) : base("Trigger drop", gui, WindowIDs.Other) | ||
{ | ||
} | ||
|
||
public override ElementInfo CreateElement(int windowId) | ||
{ | ||
|
||
ButtonInfo triggerDrop = new(windowId, Name); | ||
|
||
triggerDrop.ButtonPress += TriggerDrop; | ||
|
||
return triggerDrop; | ||
} | ||
|
||
private void TriggerDrop() | ||
{ | ||
MonoBehaviourPublicStCaSt1ObSthaUIStmaUnique.TryTriggerDrop(); | ||
} | ||
} | ||
} |