(svn r22403) -Document: some more network/core code

This commit is contained in:
rubidium
2011-05-01 13:29:40 +00:00
parent 536c581923
commit 99ec3a044a
9 changed files with 115 additions and 26 deletions

View File

@@ -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