This not-yet-properly-named project is both a C# plugin framework for GTA SAMP and its single consuming plugin.
I develop and maintain this project for personal use, but it should also look good on a low-level C# job resume, if such a job even exists. You can also clone the project and write your own Program.cs if you want to try your hand at SAMP plugin development.
- Pure C#, including game class interaction and hooks (except for the native
DllMainentry point), compiled into a single ASI, - Managed "entry point" method for plugin code, with
async/awaitsupport - all continuations run inside the game loop, andawait Task.Yieldwaits for the next game loop frame, - Managed game API facade with awaitable methods where appropriate, including awaitable game dialogs and a chat reader with
await foreachsupport, - A minimal hook framework to create jump/call hooks with managed pipeline API,
- A simple sub-plugin management system that allows to view running
asyncmethods and start/stop them via an in-game dialog.
- SAMP-API and SAMP_IDBs - reversed game classes/functions),
- SAMPFUNCS - inspiration for the project and API design,
- blast.hk forum - for answering my silly questions when I was only getting started with GTA SAMP plugins.