Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.5 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef ADDONMESSAGES_H
  7. #define ADDONMESSAGES_H
  8. #pragma once
  9. enum GameMessageIDs
  10. {
  11. GAME_MSG_TEXT = 1, // text chat message
  12. GAME_MSG_DATA, // binary game data
  13. GAME_MSG_INVITE_REQUEST,
  14. GAME_MSG_INVITE_RESPONSE,
  15. GAME_MSG_REJOIN_REQUEST,
  16. GAME_MSG_REJOIN_RESPONSE,
  17. GAME_MSG_INVITE_PERMISSION, // ask permission to invite someone
  18. GAME_MSG_INVITE_NOTIFY, // tell everybody that we're inviting
  19. GAME_MSG_INVITE_DENIED,
  20. GAME_MSG_PLAYER_STATUS_UPDATE,
  21. GAME_MSG_SETUP_INFO, // when user joins a game, host send the setup information of who's in the game
  22. GAME_MSG_INVITE_CANCEL, // host has cancelled an invite
  23. GAME_MSG_GAME_START, // if a game has a setup phase, this tells everybody the game has started
  24. GAME_MSG_PLAYER_KICK, // player kicked from game
  25. GAME_MSG_UPDATING,
  26. GAME_MSG_UP_TO_DATE, // player is up to date and ready to get data
  27. GAME_MSG_STARTING_CARD_HAND = 300,
  28. GAME_MSG_STARTING_PLAYER,
  29. GAME_MSG_CARD_PLAY,
  30. GAME_MSG_CHEAT_POSSIBLE = 400, // when host detects a possible cheat
  31. GAME_MSG_MOVE = 500,
  32. GAME_MSG_COLOR_CHOICE,
  33. GAME_MSG_RECONNECT_DATA,
  34. GAME_MSG_QUIT,
  35. GAME_MSG_PASS,
  36. GAME_MSG_ABORT, // phase these out
  37. GAME_MSG_WAITING_ABORT,
  38. // GAME_MSG_CLOSE_WINDOW,
  39. // special individual game messages should take IDs 1000 and over
  40. };
  41. #endif // ADDONMESSAGES_H