Class PropertyModel
Represents a model of an individual property.
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class PropertyModel : BindableBase, INotifyPropertyChanged, IPropertyModel
Remarks
Initializes a new instance of the PropertyModel class.
Constructors
View SourcePropertyModel(string, object?, IGameObject, IGameObjectFormatter)
Represents a model of an individual property.
Declaration
public PropertyModel(string name, object? value, IGameObject underlyingObject, IGameObjectFormatter formatter)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the parameter. |
| object | value | The current value of the parameter. |
| IGameObject | underlyingObject | The underlying game object that contains the parameter. |
| IGameObjectFormatter | formatter | The formatter for displaying game object data. |
Remarks
Initializes a new instance of the PropertyModel class.
Properties
View SourceGameObject
Gets the underlying game object that this property is set on.
Declaration
public IGameObject GameObject { get; }
Property Value
| Type | Description |
|---|---|
| IGameObject |
MarkedForLookup
Gets or sets a value indicating whether the property is marked for lookup.
Declaration
public bool MarkedForLookup { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MarkedForToken
Gets or sets a value indicating whether or not the property is marked as a token property.
Declaration
public bool MarkedForToken { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Gets the name of the property.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Values
Gets the values of the property.
Declaration
public MultiValueModel Values { get; }
Property Value
| Type | Description |
|---|---|
| MultiValueModel |
Implements
Phoenix.GameStateBrowser.Models.IPropertyModel