Class GameAction
Represents executable game action.
public class GameAction : ObservableObject, INotifyPropertyChanged, IEquatable<GameAction>
- Inheritance
-
GameAction
- Implements
- Inherited Members
Properties
AdditionalArguments
Gets or sets additional executable arguments used for Emulator action type.
public string AdditionalArguments { get; set; }
Property Value
Arguments
Gets or sets executable arguments for File type tasks.
public string Arguments { get; set; }
Property Value
EmulatorId
Gets or sets emulator id for Emulator action type execution.
public Guid EmulatorId { get; set; }
Property Value
EmulatorProfileId
Gets or sets emulator profile id for Emulator action type execution.
public string EmulatorProfileId { get; set; }
Property Value
IsPlayAction
Gets or sets value indicating whether an action is play action.
public bool IsPlayAction { get; set; }
Property Value
Name
Gets or sets action name.
public string Name { get; set; }
Property Value
OverrideDefaultArgs
Gets or sets value indicating whether emulator arguments should be completely overwritten with action arguments. Applies only to Emulator action type.
public bool OverrideDefaultArgs { get; set; }
Property Value
Path
Gets or sets executable path for File action type or URL for URL action type.
public string Path { get; set; }
Property Value
Script
Gets or sets startup script.
public string Script { get; set; }
Property Value
TrackingMode
Gets or sets executable arguments for File type tasks.
public TrackingMode TrackingMode { get; set; }
Property Value
TrackingPath
Gets or sets executable arguments for File type tasks.
public string TrackingPath { get; set; }
Property Value
Type
Gets or sets task type.
public GameActionType Type { get; set; }
Property Value
WorkingDir
Gets or sets working directory for File action type executable.
public string WorkingDir { get; set; }
Property Value
Methods
Equals(GameAction)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(GameAction other)
Parameters
other
GameActionAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
other
parameter; otherwise, false.
Equals(GameAction, GameAction)
Compares two GameAction objects for equality.
public static bool Equals(GameAction obj1, GameAction obj2)
Parameters
obj1
GameActionobj2
GameAction
Returns
GetCopy()
public GameAction GetCopy()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.