<h1>Accessor</h1>
<p>
	The accessor class can be used to interact with private or protected members of a class.<br>
	Read the source code <a href="https://github.com/X606/ModBot/blob/master/Mod%20Bot/Accessor.cs" target="_blank">here</a>
</p>
<h1>Constructor</h1>
<h2>public Accessor(Type _type, object _instance)</h2>
<p>
	Initializes a new instance of the Accessor class with the specified type and instance
</p>
<h1>Methods</h1>
<h2>public object CallPrivateMethod(string methodName, object[] args)</h2>
<p>
	Calls a non-public method <i>methodName</i> with arguments <i>args</i> in the type and instance specified in the current instance of the Accessor class
	<br>
	NOTE: <i>methodName</i> is case-sensitive.
</p>
<h2>public ReturnType CallPrivateMethod [ReturnType] (string methodName, object[] args)</h2>
<p>
	
</p>
<h2>SetPrivateField (Non-static)<a href="#non-static-footnote"><sup>[1]</sup></a></h2>
<p>Requires that an instance of the Accessor class is defined in order to be called.</p>
<p>
	Sets a private variable in a class to a specified value.<br>
	<br>
	SetPrivateField (Non-static) takes 2 arguments:<br>
	The first argument is the name of the field (case sensitive).<br>
	The second argument is the value to set the field to.
</p>
<br>
<h2>GetPrivateField (Non-static)<a href="#non-static-footnote"><sup>[1]</sup></a></h2>
<p>Requires that an instance of the Accessor class is defined in order to be called.</p>
<p>
	Gets the value of a specified private field in a class.<br>
	<br>
	GetPrivateField (Non-static) takes a string, which is the name of the field to get the value of.<br>
	<br>
	Returns: The value of the specified field.
</p>
<br>
<h2>SetPrivateProperty (Non-static)<a href="#non-static-footnote"><sup>[1]</sup></a></h2>
<p>Requires that an instance of the Accessor class is defined in order to be called.</p>
<p>
	Sets a private property of a class.<br>
	<br>
	SetPrivateProperty (Non-static) takes 2 arguments:<br>
	The first argument is the name if the property (case-sensitive).<br>
	The second argument is the new value to set it to.
</p>
<br>
<br>
