Operator cannot be applied error, missing reference?

Hi Everyone,
(should this be wrong place to post, please refer me to the right location)

I am making a plugin for Rust, via visual studio. Where it shows no errors,
but when oxide is compiling/loading it gives an error, and will not load.

I have been searching for a solution, but been unable to find one.
What oxide show is this:

"Unable to load: error 0023: The '.' operator cannot be applied to operand of type UnityEngine.Input"

The code, that throws the error: (I did try code tags, did not work)
########

void Update()
{
GetCurrent();
if (Input.GetButtonDown("Fire1"))
ButtonAction();
}

And:

Mouseposition = new Vector2(Input.mousePosition.x, Input.mousePosition.y);
########

Am I "simply" missing Librarys/dependencis? or have I setup VS incorrectly?
Do anyone see, what I might be missing or doing wrong?

Very much appreciate any help given, thanks!
/ Valentine

That code will not work on the server to get player input. I suspect you are missing a Unity reference though.

So I am on the wrong side with the code, so to say.. client side. Actualy make sense. that kinda helped :)
I have been looking at it wrong then.

Thanks :)