GPEnum
Presence and Messaging SDK's general enum list that holds context specific values for a variety of purposes.
- typedef enum
- {
- // Callbacks
- GP_ERROR = 0,
- GP_RECV_BUDDY_REQUEST,
- GP_RECV_BUDDY_STATUS,
- GP_RECV_BUDDY_MESSAGE,
- GP_RECV_GAME_INVITE,
- GP_TRANSFER_CALLBACK,
- GP_RECV_BUDDY_AUTH,
// Global States- GP_INFO_CACHING= 0x0100,
- GP_SIMULATION,
- GP_INFO_CACHING_BUDDY_ONLY,
// Blocking- GP_BLOCKING= 1,
- GP_NON_BLOCKING= 0,
// Firewall- GP_FIREWALL= 1,
- GP_NO_FIREWALL= 0,
// Check Cache- GP_CHECK_CACHE= 1,
- GP_DONT_CHECK_CACHE= 0,
// Is Valid Email.- GP_VALID= 1,
- GP_INVALID= 0,
// Fatal Error- GP_FATAL= 1,
- GP_NON_FATAL= 0,
// Sex- GP_MALE= 0x0500,
- GP_FEMALE,
- GP_PAT,
// Profile Search- GP_MORE= 0x0600,
- GP_DONE,
// Set Info- GP_NICK= 0x0700,
- GP_UNIQUENICK,
- GP_EMAIL,
- GP_PASSWORD,
- GP_FIRSTNAME,
- GP_LASTNAME,
- GP_ICQUIN,
- GP_HOMEPAGE,
- GP_ZIPCODE,
- GP_COUNTRYCODE,
- GP_BIRTHDAY,
- GP_SEX,
- GP_CPUBRANDID,
- GP_CPUSPEED,
- GP_MEMORY,
- GP_VIDEOCARD1STRING,
- GP_VIDEOCARD1RAM,
- GP_VIDEOCARD2STRING,
- GP_VIDEOCARD2RAM,
- GP_CONNECTIONID,
- GP_CONNECTIONSPEED,
- GP_HASNETWORK,
- GP_OSSTRING,
- GP_AIMNAME,
- GP_PIC,
- GP_OCCUPATIONID,
- GP_INDUSTRYID,
- GP_INCOMEID,
- GP_MARRIEDID,
- GP_CHILDCOUNT,
- GP_INTERESTS1,
// New Profile- GP_REPLACE= 1,
- GP_DONT_REPLACE= 0,
// Is Connected- GP_CONNECTED= 1,
- GP_NOT_CONNECTED= 0,
// Public mask- GP_MASK_NONE= 0x00000000,
- GP_MASK_HOMEPAGE= 0x00000001,
- GP_MASK_ZIPCODE= 0x00000002,
- GP_MASK_COUNTRYCODE= 0x00000004,
- GP_MASK_BIRTHDAY= 0x00000008,
- GP_MASK_SEX= 0x00000010,
- GP_MASK_EMAIL= 0x00000020,
- GP_MASK_ALL= 0xFFFFFFFF,
// Status- GP_OFFLINE= 0,
- GP_ONLINE= 1,
- GP_PLAYING= 2,
- GP_STAGING= 3,
- GP_CHATTING= 4,
- GP_AWAY= 5,
// CPU Brand ID- GP_INTEL= 1,
- GP_AMD,
- GP_CYRIX,
- GP_MOTOROLA,
- GP_ALPHA,
// Connection ID- GP_MODEM= 1,
- GP_ISDN,
- GP_CABLEMODEM,
- GP_DSL,
- GP_SATELLITE,
- GP_ETHERNET,
- GP_WIRELESS,
// Transfer callback type (the transfer is ended when these types are received)- GP_TRANSFER_SEND_REQUEST,
- GP_TRANSFER_ACCEPTED,
- GP_TRANSFER_REJECTED,
- GP_TRANSFER_NOT_ACCEPTING,
- GP_TRANSFER_NO_CONNECTION,
- GP_TRANSFER_DONE,
- GP_TRANSFER_CANCELLED,
- GP_TRANSFER_LOST_CONNECTION,
- GP_TRANSFER_ERROR,
- GP_TRANSFER_THROTTLE,
- GP_FILE_BEGIN,
- GP_FILE_PROGRESS,
- GP_FILE_END,
- GP_FILE_DIRECTORY,
- GP_FILE_SKIP,
- GP_FILE_FAILED,
// GP_FILE_FAILED error- GP_FILE_READ_ERROR= 0x900,
- GP_FILE_WRITE_ERROR,
- GP_FILE_DATA_ERROR,
// Transfer Side- GP_TRANSFER_SENDER= 0xA00,
- GP_TRANSFER_RECEIVER,
// UTM send options- GP_DONT_ROUTE= 0xB00,
// Quiet mode flags- GP_SILENCE_NONE= 0x00000000,
- GP_SILENCE_MESSAGES= 0x00000001,
- GP_SILENCE_UTMS= 0x00000002,
- GP_SILENCE_LIST= 0x00000004,
- GP_SILENCE_ALL= 0xFFFFFFFF
- } GPEnum;
Constants
- GP_RECV_BUDDY_AUTH
- Required to receive new style buddy authorizations.
- GP_PAT
- I'm afraid to ask.
- GP_OFFLINE
- User is offline (disconnected from the server).
- GP_ONLINE
- User is online (connected to the server).
- GP_PLAYING
- User is playing a game.
- GP_STAGING
- User in a staging area for a game.
- GP_CHATTING
- User is chatting.
- GP_DONT_ROUTE
- Only sends the message directly to the player.
- GP_SILENCE_MESSAGES
- Messages will be silenced.
- GP_SILENCE_UTMS
- UTMs will be silenced.
- GP_SILENCE_LIST
- Buddy List requests, authorizations and revokes will be silenced.
- GP_SILENCE_ALL
- All GP traffic will be silenced.
Section Reference: Gamespy Presence SDK