Class UniversalDataSystem.EventProperty
A UDS property containing an support type of property value
Namespace: Unity.PSN.PS5.UDS
Syntax
public class EventProperty
Constructors
EventProperty()
Create an empty property
Declaration
public EventProperty()
EventProperty(String, Boolean)
Set a property value
Declaration
public EventProperty(string key, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Boolean | value | Boolean value |
EventProperty(String, Byte[], Int32)
Set a property value
Declaration
public EventProperty(string key, byte[] value, int size)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Byte[] | value | Binary data |
| Int32 | size |
EventProperty(String, Double)
Set a property value
Declaration
public EventProperty(string key, double value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Double | value | Double value |
EventProperty(String, Int32)
Set a property value
Declaration
public EventProperty(string key, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Int32 | value | Interger value |
EventProperty(String, Int64)
Set a property value
Declaration
public EventProperty(string key, long value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Int64 | value | Interger value |
EventProperty(String, Single)
Set a property value
Declaration
public EventProperty(string key, float value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| Single | value | Float value |
EventProperty(String, String)
Set a property value
Declaration
public EventProperty(string key, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| String | value | String value |
EventProperty(String, UInt32)
Set a property value
Declaration
public EventProperty(string key, uint value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| UInt32 | value | Interger value |
EventProperty(String, UInt64)
Set a property value
Declaration
public EventProperty(string key, ulong value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| UInt64 | value | Interger value |
EventProperty(String, UniversalDataSystem.EventProperties)
Set a property value
Declaration
public EventProperty(string key, UniversalDataSystem.EventProperties value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| UniversalDataSystem.EventProperties | value | EventProperties collection |
EventProperty(String, UniversalDataSystem.EventPropertyArray)
Set a property value
Declaration
public EventProperty(string key, UniversalDataSystem.EventPropertyArray value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property key |
| UniversalDataSystem.EventPropertyArray | value | EventPropertyArray collection |
EventProperty(String, UniversalDataSystem.PropertyType)
Create a property with a key and value type
Declaration
public EventProperty(string key, UniversalDataSystem.PropertyType type)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Property Key |
| UniversalDataSystem.PropertyType | type | Value Type |
Properties
Key
The property key
Declaration
public string Key { get; }
Property Value
| Type | Description |
|---|---|
| String |
PropType
The property value type
Declaration
public UniversalDataSystem.PropertyType PropType { get; }
Property Value
| Type | Description |
|---|---|
| UniversalDataSystem.PropertyType |
Methods
Update(Boolean)
Update the value
Declaration
public void Update(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | value | Boolean value |
Update(Byte[])
Update the value
Declaration
public void Update(byte[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| Byte[] | value | Binary data |
Update(Byte[], Int32)
Update the value
Declaration
public void Update(byte[] value, int size)
Parameters
| Type | Name | Description |
|---|---|---|
| Byte[] | value | Binary data |
| Int32 | size | Number of elements in the binary data to use |
Update(Double)
Update the value
Declaration
public void Update(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | value | Double value |
Update(Int32)
Update the value
Declaration
public void Update(int value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | value | Integer value |
Update(Int64)
Update the value
Declaration
public void Update(long value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int64 | value | Integer value |
Update(Single)
Update the value
Declaration
public void Update(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | value | Float value |
Update(String)
Update the value
Declaration
public void Update(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | value | String value |
Update(UInt32)
Update the value
Declaration
public void Update(uint value)
Parameters
| Type | Name | Description |
|---|---|---|
| UInt32 | value | Integer value |
Update(UInt64)
Update the value
Declaration
public void Update(ulong value)
Parameters
| Type | Name | Description |
|---|---|---|
| UInt64 | value | Integer value |
Update(UniversalDataSystem.EventProperties)
Update the value
Declaration
public void Update(UniversalDataSystem.EventProperties properties)
Parameters
| Type | Name | Description |
|---|---|---|
| UniversalDataSystem.EventProperties | properties | EventProperties collection |
Update(UniversalDataSystem.EventPropertyArray)
Update the value
Declaration
public void Update(UniversalDataSystem.EventPropertyArray propertiesArray)
Parameters
| Type | Name | Description |
|---|---|---|
| UniversalDataSystem.EventPropertyArray | propertiesArray | EventPropertyArray collection |