Class AudioHistory.RemoveArgs
The event argument when calling RemoveOldest() or RemoveNewest().
Namespace: OmiyaGames.Audio
Assembly: cs.temp.dll.dll
Syntax
public class RemoveArgs : EventArgs
Constructors
RemoveArgs(AssetRef<BackgroundAudio>, Boolean)
Constructs a new event argument.
Declaration
public RemoveArgs(AssetRef<BackgroundAudio> removedAsset, bool isOldestRemoved)
Parameters
Type | Name | Description |
---|---|---|
AssetRef<BackgroundAudio> | removedAsset | Sets Asset. |
Boolean | isOldestRemoved | Sets IsOldestRemoved. |
Properties
Asset
Gets the asset removed from the history.
Declaration
public AssetRef<BackgroundAudio> Asset { get; }
Property Value
Type | Description |
---|---|
AssetRef<BackgroundAudio> |
IsOldestRemoved
Returns true if event was called by RemoveOldest().
If the event was called by RemoveNewest() instead, returns false.
Declaration
public bool IsOldestRemoved { get; }
Property Value
Type | Description |
---|---|
Boolean |