<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=ClickWithRaycast</id>
	<title>ClickWithRaycast - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=ClickWithRaycast"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=ClickWithRaycast&amp;action=history"/>
	<updated>2026-07-24T21:46:06Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=ClickWithRaycast&amp;diff=717&amp;oldid=prev</id>
		<title>imported&gt;RoboN1X: category</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=ClickWithRaycast&amp;diff=717&amp;oldid=prev"/>
		<updated>2019-05-24T14:03:34Z</updated>

		<summary type="html">&lt;p&gt;category&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ClientsideCsEvent}}&lt;br /&gt;
&lt;br /&gt;
{{CSharpContainer|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
public delegate void OnClickWithRaycastDelegate(int x, int y, bool up, bool right, float relativeX, float relativeY, Vector3 worldPos, int entityHandle);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Parameters}}&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039; - expects &amp;#039;&amp;#039;&amp;#039;System.Int32&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;y&amp;#039;&amp;#039;&amp;#039; - expects &amp;#039;&amp;#039;&amp;#039;System.Int32&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;up&amp;#039;&amp;#039;&amp;#039; - expects &amp;#039;&amp;#039;&amp;#039;System.Boolean&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;right&amp;#039;&amp;#039;&amp;#039; - expects &amp;#039;&amp;#039;&amp;#039;System.Boolean&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;relativeX&amp;#039;&amp;#039;&amp;#039; - expects &amp;#039;&amp;#039;&amp;#039;System.Single&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;relativeY&amp;#039;&amp;#039;&amp;#039; - expects &amp;#039;&amp;#039;&amp;#039;System.Single&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;worldPos&amp;#039;&amp;#039;&amp;#039; - the position in the world, expects &amp;#039;&amp;#039;&amp;#039;RAGE.Vector3 &amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;entityHandle&amp;#039;&amp;#039;&amp;#039; - the handle of the entity, expects &amp;#039;&amp;#039;&amp;#039;System.Int32&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{Example}}&lt;br /&gt;
The example below does nothing on invoke of event&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
Events.OnClickWithRaycast += OnClickWithRaycast;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
public void OnClickWithRaycast(int x, int y, bool up, bool right, float relativeX, float relativeY, RAGE.Vector3 worldPos, int entityHandle)&lt;br /&gt;
{&lt;br /&gt;
    //add something beast here&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Client-side Event]]&lt;/div&gt;</summary>
		<author><name>imported&gt;RoboN1X</name></author>
	</entry>
</feed>