GetEntitySyncedData: Difference between revisions
(Created page with "Gets entity data that was set via SetEntitySharedData. Note that this data is in a different state than non-synced data that you set with SetEntityData (which is only...") |
m (Xabi moved page NAPI.Data.GetEntitySyncedData to GetEntitySyncedData) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
Gets entity data that was set via | Gets entity data that was set via SetEntitySharedData. | ||
Note that this data is in a different state than non-synced data that you set with | Note that this data is in a different state than non-synced data that you set with SetEntityData (which is only available for the server). To get non-synced data, use GetEntityData instead. | ||
==Syntax== | ==Syntax== | ||
Latest revision as of 13:10, 27 November 2019
Gets entity data that was set via SetEntitySharedData.
Note that this data is in a different state than non-synced data that you set with SetEntityData (which is only available for the server). To get non-synced data, use GetEntityData instead.
Syntax
dynamic NAPI.Data.GetEntitySharedData(NetHandle entity, string key);
Required Arguments
- entity: parameter input should be in NetHandle type.
- key: parameter input should be in string type.
NOTE: This function returns data in dynamic type.
Usage example(s)
Example Description
NAPI.Data.GetEntitySharedData(entity, key);