This repository has been archived on 2020-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
gnoemoe/gnoemoe/mcp/gm-mcp-userlist-view.h
Jesse van den Kieboom 65d460b3ee gnoemoe/mcp/gm-mcp-icecrew-playerdb.c: max version to 1.1
gnoemoe/mcp/gm-mcp.c: fixed version check
gnoemoe/mcp/gm-mcp-userlist-view.[ch]: added status message, fixed sorting, 
  added number of players
gnoemoe/mcp/gm-mcp-vmoo-userlist.[ch]: 
gnoemoe/mcp/gm-mcp-icecrew-userlist.[ch]: implement iuserlist
gnoemoe/mcp/gm-iuserlist.[ch]: added signals, added functions
2006-04-07 16:32:44 +00:00

33 lines
831 B
C

#ifndef __GM_MCP_USERLIST_VIEW_H__
#define __GM_MCP_USERLIST_VIEW_H__
typedef enum _PlayerStateMask {
USERLIST_STATE_IDLE = 1 << 0,
USERLIST_STATE_BUSY = 1 << 1,
USERLIST_STATE_AWAY = 1 << 2
} PlayerStateMask;
typedef enum _UserlistEvent {
USERLIST_EVENT_NONE = 0,
USERLIST_EVENT_ONLINE = 1 << 0,
USERLIST_EVENT_OFFLINE = 1 << 1,
USERLIST_EVENT_IDLE_ON = 1 << 2,
USERLIST_EVENT_IDLE_OFF = 1 << 3,
USERLIST_EVENT_AWAY_ON = 1 << 4,
USERLIST_EVENT_AWAY_OFF = 1 << 5
} UserlistEvent;
typedef enum _GmUserlistSortType {
GM_USERLIST_SORT_TYPE_STATE_RANK_NAME,
GM_USERLIST_SORT_TYPE_RANK_NAME,
GM_USERLIST_SORT_TYPE_STATE_NAME,
GM_USERLIST_SORT_TYPE_NAME,
GM_USERLIST_SORT_TYPE_NUM
} GmUserlistSortType;
void gm_mcp_userlist_view_new(GmMcpPackage *package, GObject *parent);
#endif /* __GM_MCP_USERLIST_VIEW_H__ */