[gunzemulator] r343 committed - Added channel type retrieval.

0 views
Skip to first unread message

gunzem...@googlecode.com

unread,
Jun 27, 2010, 3:32:09 PM6/27/10
to gogo-dev...@googlegroups.com
Revision: 343
Author: cg.wowus.cg
Date: Sun Jun 27 12:31:05 2010
Log: Added channel type retrieval.
http://code.google.com/p/gunzemulator/source/detail?r=343

Modified:
/trunk/include/gunz/Channel.h

=======================================
--- /trunk/include/gunz/Channel.h Sat Jun 26 17:21:41 2010
+++ /trunk/include/gunz/Channel.h Sun Jun 27 12:31:05 2010
@@ -1,4 +1,5 @@
#pragma once
+#include <gunz/simple_types.h>

// TODO(Clark): Flesh this out.
class Channel
@@ -21,6 +22,10 @@
- Returns the "rule" for the channel. I'm still not totally
sure what this means. Talk to Jacob.

+ + ChannelType GetType() const
+ - Returns whether the channel is one of CT_GENERAL, CT_PRIVATE,
+ CT_USER, or CT_CLAN.
+
+ std::vector<PlayerTraits> GetPlayerList() const
- Returns a player list, return information on each player
currently in the channel. The reason raw Player*s aren't used

Reply all
Reply to author
Forward
0 new messages