From 99ec3a044aab32e0fe4aea03a5539cf0e4f129e9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 1 May 2011 13:29:40 +0000 Subject: (svn r22403) -Document: some more network/core code --- src/network/core/tcp_content.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/network/core/tcp_content.h') 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 -- cgit v1.2.3-54-g00ecf