-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #246 from tzachshabtay/ClaimEvent
Claim event
- Loading branch information
Showing
10 changed files
with
558 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace AGS.API | ||
{ | ||
/// <summary> | ||
/// This is a token that can be used when you want to claim an event, so that other subscribers which follow you on the subscriber list will not get that event. | ||
/// <seealso cref="ClaimableCallback"/> | ||
/// </summary> | ||
public struct ClaimEventToken | ||
{ | ||
/// <summary> | ||
/// Gets or sets a value indicating whether this <see cref="T:AGS.API.ClaimEventToken"/> is claimed. | ||
/// If you claim the event (by setting Claimed = true), this event will not be propogated to the rest of the subscribers. | ||
/// </summary> | ||
/// <value><c>true</c> if claimed; otherwise, <c>false</c>.</value> | ||
public bool Claimed { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.