Class UniversalDataSystem.EventProperties
A set of properties keys and values
Inherited Members
Namespace: Unity.PSN.PS5.UDS
Syntax
public class EventProperties : UniversalDataSystem.PropertiesContainer
Methods
Reset()
Clear the properties
Declaration
public void Reset()
Set(String, Boolean)
Set or update an boolean property.
Declaration
public void Set(string key, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Boolean | value | Value |
Set(String, Byte[])
Set or update an binary (byte[]) property.
Declaration
public void Set(string key, byte[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Byte[] | value | Value |
Set(String, Byte[], Int32)
Set or update an binary (byte[]) property.
Declaration
public void Set(string key, byte[] value, int size)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Byte[] | value | Array of byte values |
| Int32 | size | Number of array elements to include |
Set(String, Double)
Set or update an double property.
Declaration
public void Set(string key, double value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Double | value | Value |
Set(String, Int32)
Set or update an integer property.
Declaration
public void Set(string key, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Int32 | value | Value |
Set(String, Int64)
Set or update an integer property.
Declaration
public void Set(string key, long value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Int64 | value | Value |
Set(String, Single)
Set or update an float property.
Declaration
public void Set(string key, float value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Single | value | Value |
Set(String, String)
Set or update an string property.
Declaration
public void Set(string key, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| String | value | Value |
Set(String, UInt32)
Set or update an unsigned integer property.
Declaration
public void Set(string key, uint value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| UInt32 | value | Value |
Set(String, UInt64)
Set or update an unsigned integer property.
Declaration
public void Set(string key, ulong value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| UInt64 | value | Value |
Set(String, UniversalDataSystem.EventProperties)
Attach or update a set of properties to this group.
Declaration
public void Set(string key, UniversalDataSystem.EventProperties value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| UniversalDataSystem.EventProperties | value | The set of key/value properties |
Set(String, UniversalDataSystem.EventPropertyArray)
Attach or update an array of properties to this group.
Declaration
public void Set(string key, UniversalDataSystem.EventPropertyArray value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| UniversalDataSystem.EventPropertyArray | value | The array of properties |
Set(String, UniversalDataSystem.PropertyType)
Create or replace a property key and type
Declaration
public UniversalDataSystem.EventProperty Set(string key, UniversalDataSystem.PropertyType type)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| UniversalDataSystem.PropertyType | type | Value type |
Returns
| Type | Description |
|---|---|
| UniversalDataSystem.EventProperty | Object containing the property data |
Set(UniversalDataSystem.EventProperty)
Either add or update an existing property base on key
Declaration
public void Set(UniversalDataSystem.EventProperty prop)
Parameters
| Type | Name | Description |
|---|---|---|
| UniversalDataSystem.EventProperty | prop |