mirror of
https://github.com/kwsch/NHSE.git
synced 2026-03-27 12:04:46 -05:00
Decentralizes pocket injection logic from SysBotUI so that other auto-injectors can be passed in (future? like terrain/overworld items). Adds validation to not modify items if the pocket data doesn't have the expected layout. Closes #47 by implementing things in a more abstract & extendable way. Thanks @jfmherokiller for the example implementation which served as an inspiration!
27 lines
377 B
C#
27 lines
377 B
C#
namespace NHSE.Injection
|
|
{
|
|
/// <summary>
|
|
/// Controller Buttons
|
|
/// </summary>
|
|
public enum SwitchButton
|
|
{
|
|
A,
|
|
B,
|
|
X,
|
|
Y,
|
|
RSTICK,
|
|
LSTICK,
|
|
L,
|
|
R,
|
|
ZL,
|
|
ZR,
|
|
PLUS,
|
|
MINUS,
|
|
DUP,
|
|
DDOWN,
|
|
DLEFT,
|
|
DRIGHT,
|
|
HOME,
|
|
CAPTURE,
|
|
}
|
|
} |