<?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=GetEntityData</id>
	<title>GetEntityData - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://rage.grandroleplay.ru/index.php?action=history&amp;feed=atom&amp;title=GetEntityData"/>
	<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=GetEntityData&amp;action=history"/>
	<updated>2026-07-24T21:41:59Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://rage.grandroleplay.ru/index.php?title=GetEntityData&amp;diff=10046&amp;oldid=prev</id>
		<title>imported&gt;Xabi в 19:33, 22 декабря 2022</title>
		<link rel="alternate" type="text/html" href="https://rage.grandroleplay.ru/index.php?title=GetEntityData&amp;diff=10046&amp;oldid=prev"/>
		<updated>2022-12-22T19:33:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Gets entity data that was set with SetEntityData.&lt;br /&gt;
&lt;br /&gt;
Note that this data is in a different state than synced data that you set with SetEntitySharedData. To get synced data, use GetEntitySharedData instead.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;C#&amp;quot; &amp;gt;dynamic NAPI.Data.GetEntityData(Entity entity, string key);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Required Arguments&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;entity:&amp;#039;&amp;#039;&amp;#039; parameter input should be in &amp;#039;&amp;#039;&amp;#039;Entity&amp;#039;&amp;#039;&amp;#039; type.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;key:&amp;#039;&amp;#039;&amp;#039; parameter input should be in &amp;#039;&amp;#039;&amp;#039;string&amp;#039;&amp;#039;&amp;#039; type.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NOTE:&amp;#039;&amp;#039;&amp;#039; This function returns data in &amp;#039;&amp;#039;&amp;#039;dynamic&amp;#039;&amp;#039;&amp;#039; type.&lt;br /&gt;
&lt;br /&gt;
==Usage example(s)==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;C#&amp;quot;&amp;gt;&lt;br /&gt;
// Note: Since the return type is dynamic, this will throw an exception if the data is not of type int!&lt;br /&gt;
int jailtime = NAPI.Data.GetEntityData(player, &amp;quot;Jailtime&amp;quot;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Serverside API]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Xabi</name></author>
	</entry>
</feed>