Finding info on HitInfo and other classes?Solved

What are the options behind info. When a player die and I call the info variable it return HitInfo.

object OnPlayerDeath(BasePlayer player, HitInfo info)
 
Anywhere I can fin info on vars behind it?

You can find that info in Rust's DLLs, by using a .NET decompiler such as JustDecompile, dnSpy, dotPeek, etc.

The only part provided by Oxide is the hook OnPlayerDeath, the rest is from the game.
Can you tell me which dll file I should look for or under which directory?
madeindreams
Can you tell me which dll file I should look for or under which directory?
Depends on what you want, but the majority is in Assembly-CSharp.dll under RustDedicated_Data/Managed.
I'm looking for the info that the OnPlayerDeath hook can return. This file is huge where do i look for that. I have opened it with Justdecompile.
All documentation for OnPlayerDeath is provided in the Docs link at the top of our site. ALL classes which you are looking for are provded by Rust, which can be found in the DLL. A hook (such as OnPlayerDeath) is just a method that gets triggered and things such as BasePlayer and HitInfo are passed to it from the game.
Thank you I found it. Thankfully there is a search option in JustDecompile and I was able to find what I was looking for.
Locked automatically