I've been looking through some code in some plugins to get my head around creating my own plugin and I've seen the FriendlyFire plugin has a line like this:
Interface.Oxide.CallHook("OnFriendAttacked", attacker, victim, info);I'm struggling to find where that "OnFriendAttacked" hook can be found. I've looked at the Rust and Universal API documentation and "OnFriendAttacked" doesn't appear anywhere and I've used JustDecompile on a bunch of the .dlls in the RustDedicated_Data\Managed folder and can't see anything that relates.Could someone point me in the right direction? If I can find where those hooks can be found, it'll make much more sense to me!