Class UniversalDataSystem.EventPropertyArray
An array of property values of the same type
Inherited Members
Namespace: Unity.PSN.PS5.UDS
Syntax
public class EventPropertyArray : UniversalDataSystem.PropertiesContainer
Constructors
EventPropertyArray(UniversalDataSystem.PropertyType)
Create a property array of a set type
Declaration
public EventPropertyArray(UniversalDataSystem.PropertyType arrayType)
Parameters
| Type | Name | Description |
|---|---|---|
| UniversalDataSystem.PropertyType | arrayType |
Properties
ArrayType
The type of value
Declaration
public UniversalDataSystem.PropertyType ArrayType { get; }
Property Value
| Type | Description |
|---|---|
| UniversalDataSystem.PropertyType |
Methods
CopyValues<T>(T[])
Append values from an Array to this properties array
Declaration
public void CopyValues<T>(T[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| T[] | values | The array of values |
Type Parameters
| Name | Description |
|---|---|
| T | The value type |
Reset()
Reset the array
Declaration
public void Reset()
Set<T>(T)
Add a value to the array
Declaration
public void Set<T>(T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The value to add |
Type Parameters
| Name | Description |
|---|---|
| T | Value type |