summaryrefslogtreecommitdiff
path: root/src/network/core/tcp_content.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core/tcp_content.h')
-rw-r--r--src/network/core/tcp_content.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/core/tcp_content.h b/src/network/core/tcp_content.h
index 120324d48..396202f23 100644
--- a/src/network/core/tcp_content.h
+++ b/src/network/core/tcp_content.h
@@ -47,12 +47,14 @@ enum PacketContentType {
PACKET_CONTENT_END ///< Must ALWAYS be on the end of this list!! (period)
};
+/** Unique identifier for the content. */
enum ContentID {
- INVALID_CONTENT_ID = UINT32_MAX
+ INVALID_CONTENT_ID = UINT32_MAX ///< Sentinel for invalid content.
};
/** Container for all important information about a piece of content. */
struct ContentInfo {
+ /** The state the content can be in. */
enum State {
UNSELECTED, ///< The content has not been selected
SELECTED, ///< The content has been manually selected