Hello community

In a paid plugin from which I want to extract some data, but I can't find a way to do it.
I have been trying different ways for days, I have used several ways to reference many of this site, and I have even used ChatGpt but nothing works. I don't know if the post is outdated or whatever, but it would be very helpful if you could give me some examples.

1st Example:
Plugin1
Using a Hook

Interface.Oxide.CallHook("pluginEventEnd", player, playerID, waveType, location);
​

Plugin2
Extract location from hook
----------------------


2nd Example

Plugin1
Extract from a function
------------------------

3rd Example
Create a hook to call it
Plugin1

Data(true);

internal void Data(bool someValue)
{
Interface.Oxide.CallHook("OnPluginData", someValue);
}​

Plugin2
Extract true from hook

If you can help me with any or all of them it would be very helpful.
From already thank you very much.