Info on adding custom hooks?

Hey guys, only recently started getting back into making plugins, 
Trying to create a hook for when some of the electricity compononents are triggered (HBHF, solar panel, ETC.)
Any help to put me in the right direction would be great, thanks!
EDIT: I see there is one for solar panel (stupidly missed it when looking through), but wondering how to make hooks for the others.

Ts3hosting

There is all kinds of io hooks. https://umod.org/documentation/games/rust

I mean moreso to create my own hooks anyway, after playing around with dnSpy I've figured it out now!

zade

I mean moreso to create my own hooks anyway, after playing around with dnSpy I've figured it out now!

You'd need to be familiar with MSIL and the Oxide Patcher.