IResourceChangeEventTSource, TArgs Interface |
Namespace: Archon.SwissArmyLib.ResourceSystem
public interface IResourceChangeEvent<TSource, TArgs> : IResourceEvent<TSource, TArgs>
[Missing <typeparam name="TSource"/> documentation for "T:Archon.SwissArmyLib.ResourceSystem.IResourceChangeEvent`2"]
[Missing <typeparam name="TArgs"/> documentation for "T:Archon.SwissArmyLib.ResourceSystem.IResourceChangeEvent`2"]
The IResourceChangeEventTSource, TArgs type exposes the following members.
Name | Description | |
---|---|---|
AppliedDelta |
Gets the actual applied (and clamped) delta.
Basically just the difference in resource amount before and after the change.
| |
Args |
Gets or sets the args that the sender sent with the change.
(Inherited from IResourceEventTSource, TArgs.) | |
ModifiedDelta |
Gets the modified delta after listeners of OnPreChange had their chance to affect it.
| |
OriginalDelta |
Gets the originally requested resource change.
| |
Source |
Gets or sets the source of the resource change.
(Inherited from IResourceEventTSource, TArgs.) |