summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/Philipp15b/go-steam/notifications_events.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/Philipp15b/go-steam/notifications_events.go')
-rw-r--r--vendor/github.com/Philipp15b/go-steam/notifications_events.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/Philipp15b/go-steam/notifications_events.go b/vendor/github.com/Philipp15b/go-steam/notifications_events.go
new file mode 100644
index 00000000..7b028a2b
--- /dev/null
+++ b/vendor/github.com/Philipp15b/go-steam/notifications_events.go
@@ -0,0 +1,9 @@
+package steam
+
+// This event is emitted for every CMsgClientUserNotifications message and likewise only used for
+// trade offers. Unlike the the above it is also emitted when the count of a type that was tracked
+// before by this Notifications instance reaches zero.
+type NotificationEvent struct {
+ Type NotificationType
+ Count uint
+}