#include #include "MessageType/Game.h" TEST(LegacyGameMessageTests, AssertLegacyGmValues) { EXPECT_EQ(MessageType::Game::TELEPORT, static_cast(19)); EXPECT_EQ(MessageType::Game::SET_PLAYER_CONTROL_SCHEME, static_cast(26)); EXPECT_EQ(MessageType::Game::DROP_CLIENT_LOOT, static_cast(30)); EXPECT_EQ(MessageType::Game::DIE, static_cast(37)); EXPECT_EQ(MessageType::Game::REQUEST_DIE, static_cast(38)); EXPECT_EQ(MessageType::Game::PLAY_EMOTE, static_cast(41)); EXPECT_EQ(MessageType::Game::PLAY_ANIMATION, static_cast(43)); EXPECT_EQ(MessageType::Game::CONTROL_BEHAVIORS, static_cast(48)); EXPECT_EQ(MessageType::Game::SET_NAME, static_cast(72)); EXPECT_EQ(MessageType::Game::ECHO_START_SKILL, static_cast(118)); EXPECT_EQ(MessageType::Game::START_SKILL, static_cast(119)); EXPECT_EQ(MessageType::Game::VERIFY_ACK, static_cast(121)); EXPECT_EQ(MessageType::Game::ADD_SKILL, static_cast(127)); EXPECT_EQ(MessageType::Game::REMOVE_SKILL, static_cast(128)); EXPECT_EQ(MessageType::Game::SET_CURRENCY, static_cast(133)); EXPECT_EQ(MessageType::Game::PICKUP_CURRENCY, static_cast(137)); EXPECT_EQ(MessageType::Game::PICKUP_ITEM, static_cast(139)); EXPECT_EQ(MessageType::Game::TEAM_PICKUP_ITEM, static_cast(140)); EXPECT_EQ(MessageType::Game::PLAY_FX_EFFECT, static_cast(154)); EXPECT_EQ(MessageType::Game::STOP_FX_EFFECT, static_cast(155)); EXPECT_EQ(MessageType::Game::REQUEST_RESURRECT, static_cast(159)); EXPECT_EQ(MessageType::Game::RESURRECT, static_cast(160)); EXPECT_EQ(MessageType::Game::PUSH_EQUIPPED_ITEMS_STATE, static_cast(191)); EXPECT_EQ(MessageType::Game::POP_EQUIPPED_ITEMS_STATE, static_cast(192)); EXPECT_EQ(MessageType::Game::SET_GM_LEVEL, static_cast(193)); EXPECT_EQ(MessageType::Game::SET_STUNNED, static_cast(198)); EXPECT_EQ(MessageType::Game::SET_STUN_IMMUNITY, static_cast(200)); EXPECT_EQ(MessageType::Game::KNOCKBACK, static_cast(202)); EXPECT_EQ(MessageType::Game::REBUILD_CANCEL, static_cast(209)); EXPECT_EQ(MessageType::Game::ENABLE_REBUILD, static_cast(213)); EXPECT_EQ(MessageType::Game::MOVE_ITEM_IN_INVENTORY, static_cast(224)); EXPECT_EQ(MessageType::Game::ADD_ITEM_TO_INVENTORY_CLIENT_SYNC, static_cast(227)); EXPECT_EQ(MessageType::Game::REMOVE_ITEM_FROM_INVENTORY, static_cast(230)); EXPECT_EQ(MessageType::Game::EQUIP_INVENTORY, static_cast(231)); EXPECT_EQ(MessageType::Game::UN_EQUIP_INVENTORY, static_cast(233)); EXPECT_EQ(MessageType::Game::OFFER_MISSION, static_cast(248)); EXPECT_EQ(MessageType::Game::RESPOND_TO_MISSION, static_cast(249)); EXPECT_EQ(MessageType::Game::NOTIFY_MISSION, static_cast(254)); EXPECT_EQ(MessageType::Game::NOTIFY_MISSION_TASK, static_cast(255)); EXPECT_EQ(MessageType::Game::REBUILD_NOTIFY_STATE, static_cast(336)); EXPECT_EQ(MessageType::Game::TERMINATE_INTERACTION, static_cast(357)); EXPECT_EQ(MessageType::Game::SERVER_TERMINATE_INTERACTION, static_cast(358)); EXPECT_EQ(MessageType::Game::REQUEST_USE, static_cast(364)); EXPECT_EQ(MessageType::Game::VENDOR_OPEN_WINDOW, static_cast(369)); EXPECT_EQ(MessageType::Game::BUY_FROM_VENDOR, static_cast(373)); EXPECT_EQ(MessageType::Game::SELL_TO_VENDOR, static_cast(374)); EXPECT_EQ(MessageType::Game::TEAM_SET_OFF_WORLD_FLAG, static_cast(383)); EXPECT_EQ(MessageType::Game::SET_INVENTORY_SIZE, static_cast(389)); EXPECT_EQ(MessageType::Game::ACKNOWLEDGE_POSSESSION, static_cast(391)); EXPECT_EQ(MessageType::Game::SET_SHOOTING_GALLERY_PARAMS, static_cast(400)); EXPECT_EQ(MessageType::Game::REQUEST_ACTIVITY_START_STOP, static_cast(402)); EXPECT_EQ(MessageType::Game::REQUEST_ACTIVITY_ENTER, static_cast(403)); EXPECT_EQ(MessageType::Game::REQUEST_ACTIVITY_EXIT, static_cast(404)); EXPECT_EQ(MessageType::Game::ACTIVITY_ENTER, static_cast(405)); EXPECT_EQ(MessageType::Game::ACTIVITY_EXIT, static_cast(406)); EXPECT_EQ(MessageType::Game::ACTIVITY_START, static_cast(407)); EXPECT_EQ(MessageType::Game::ACTIVITY_STOP, static_cast(408)); EXPECT_EQ(MessageType::Game::SHOOTING_GALLERY_CLIENT_AIM_UPDATE, static_cast(409)); EXPECT_EQ(MessageType::Game::SHOOTING_GALLERY_FIRE, static_cast(411)); EXPECT_EQ(MessageType::Game::REQUEST_VENDOR_STATUS_UPDATE, static_cast(416)); EXPECT_EQ(MessageType::Game::VENDOR_STATUS_UPDATE, static_cast(417)); EXPECT_EQ(MessageType::Game::NOTIFY_CLIENT_SHOOTING_GALLERY_SCORE, static_cast(425)); EXPECT_EQ(MessageType::Game::CONSUME_CLIENT_ITEM, static_cast(427)); EXPECT_EQ(MessageType::Game::CLIENT_ITEM_CONSUMED, static_cast(428)); EXPECT_EQ(MessageType::Game::UPDATE_SHOOTING_GALLERY_ROTATION, static_cast(448)); EXPECT_EQ(MessageType::Game::SET_FLAG, static_cast(471)); EXPECT_EQ(MessageType::Game::NOTIFY_CLIENT_FLAG_CHANGE, static_cast(472)); EXPECT_EQ(MessageType::Game::VENDOR_TRANSACTION_RESULT, static_cast(476)); EXPECT_EQ(MessageType::Game::HAS_BEEN_COLLECTED, static_cast(486)); EXPECT_EQ(MessageType::Game::DISPLAY_CHAT_BUBBLE, static_cast(495)); EXPECT_EQ(MessageType::Game::SPAWN_PET, static_cast(498)); EXPECT_EQ(MessageType::Game::DESPAWN_PET, static_cast(499)); EXPECT_EQ(MessageType::Game::PLAYER_LOADED, static_cast(505)); EXPECT_EQ(MessageType::Game::PLAYER_READY, static_cast(509)); EXPECT_EQ(MessageType::Game::REQUEST_LINKED_MISSION, static_cast(515)); EXPECT_EQ(MessageType::Game::INVALID_ZONE_TRANSFER_LIST, static_cast(519)); EXPECT_EQ(MessageType::Game::MISSION_DIALOGUE_OK, static_cast(520)); EXPECT_EQ(MessageType::Game::DISPLAY_MESSAGE_BOX, static_cast(529)); EXPECT_EQ(MessageType::Game::MESSAGE_BOX_RESPOND, static_cast(530)); EXPECT_EQ(MessageType::Game::CHOICE_BOX_RESPOND, static_cast(531)); EXPECT_EQ(MessageType::Game::SMASH, static_cast(537)); EXPECT_EQ(MessageType::Game::UN_SMASH, static_cast(538)); EXPECT_EQ(MessageType::Game::PLACE_MODEL_RESPONSE, static_cast(547)); EXPECT_EQ(MessageType::Game::SET_SHOOTING_GALLERY_RETICULE_EFFECT, static_cast(546)); EXPECT_EQ(MessageType::Game::SET_JET_PACK_MODE, static_cast(561)); EXPECT_EQ(MessageType::Game::REGISTER_PET_ID, static_cast(565)); EXPECT_EQ(MessageType::Game::REGISTER_PET_DBID, static_cast(566)); EXPECT_EQ(MessageType::Game::SHOW_ACTIVITY_COUNTDOWN, static_cast(568)); EXPECT_EQ(MessageType::Game::START_ACTIVITY_TIME, static_cast(576)); EXPECT_EQ(MessageType::Game::ACTIVITY_PAUSE, static_cast(602)); EXPECT_EQ(MessageType::Game::USE_NON_EQUIPMENT_ITEM, static_cast(603)); EXPECT_EQ(MessageType::Game::USE_ITEM_RESULT, static_cast(607)); EXPECT_EQ(MessageType::Game::COMMAND_PET, static_cast(640)); EXPECT_EQ(MessageType::Game::PET_RESPONSE, static_cast(641)); EXPECT_EQ(MessageType::Game::REQUEST_ACTIVITY_SUMMARY_LEADERBOARD_DATA, static_cast(648)); EXPECT_EQ(MessageType::Game::SEND_ACTIVITY_SUMMARY_LEADERBOARD_DATA, static_cast(649)); EXPECT_EQ(MessageType::Game::NOTIFY_OBJECT, static_cast(656)); EXPECT_EQ(MessageType::Game::CLIENT_NOTIFY_PET, static_cast(659)); EXPECT_EQ(MessageType::Game::NOTIFY_PET, static_cast(660)); EXPECT_EQ(MessageType::Game::NOTIFY_PET_TAMING_MINIGAME, static_cast(661)); EXPECT_EQ(MessageType::Game::START_SERVER_PET_MINIGAME_TIMER, static_cast(662)); EXPECT_EQ(MessageType::Game::CLIENT_EXIT_TAMING_MINIGAME, static_cast(663)); EXPECT_EQ(MessageType::Game::PET_NAME_CHANGED, static_cast(686)); EXPECT_EQ(MessageType::Game::PET_TAMING_MINIGAME_RESULT, static_cast(667)); EXPECT_EQ(MessageType::Game::PET_TAMING_TRY_BUILD_RESULT, static_cast(668)); EXPECT_EQ(MessageType::Game::NOTIFY_TAMING_BUILD_SUCCESS, static_cast(673)); EXPECT_EQ(MessageType::Game::NOTIFY_TAMING_MODEL_LOADED_ON_SERVER, static_cast(674)); EXPECT_EQ(MessageType::Game::ACTIVATE_BUBBLE_BUFF, static_cast(678)); EXPECT_EQ(MessageType::Game::DECTIVATE_BUBBLE_BUFF, static_cast(679)); EXPECT_EQ(MessageType::Game::ADD_PET_TO_PLAYER, static_cast(681)); EXPECT_EQ(MessageType::Game::REQUEST_SET_PET_NAME, static_cast(683)); EXPECT_EQ(MessageType::Game::SET_PET_NAME, static_cast(684)); EXPECT_EQ(MessageType::Game::NOTIFY_TAMING_PUZZLE_SELECTED, static_cast(675)); EXPECT_EQ(MessageType::Game::SHOW_PET_ACTION_BUTTON, static_cast(692)); EXPECT_EQ(MessageType::Game::SET_EMOTE_LOCK_STATE, static_cast(693)); EXPECT_EQ(MessageType::Game::USE_ITEM_REQUIREMENTS_RESPONSE, static_cast(703)); EXPECT_EQ(MessageType::Game::PLAY_EMBEDDED_EFFECT_ON_ALL_CLIENTS_NEAR_OBJECT, static_cast(713)); EXPECT_EQ(MessageType::Game::DOWNLOAD_PROPERTY_DATA, static_cast(716)); EXPECT_EQ(MessageType::Game::QUERY_PROPERTY_DATA, static_cast(717)); EXPECT_EQ(MessageType::Game::PROPERTY_EDITOR_BEGIN, static_cast(724)); EXPECT_EQ(MessageType::Game::PROPERTY_EDITOR_END, static_cast(725)); EXPECT_EQ(MessageType::Game::IS_MINIFIG_IN_A_BUBBLE, static_cast(729)); EXPECT_EQ(MessageType::Game::START_PATHING, static_cast(733)); EXPECT_EQ(MessageType::Game::ACTIVATE_BUBBLE_BUFF_FROM_SERVER, static_cast(734)); EXPECT_EQ(MessageType::Game::DEACTIVATE_BUBBLE_BUFF_FROM_SERVER, static_cast(735)); EXPECT_EQ(MessageType::Game::NOTIFY_CLIENT_ZONE_OBJECT, static_cast(737)); EXPECT_EQ(MessageType::Game::UPDATE_REPUTATION, static_cast(746)); EXPECT_EQ(MessageType::Game::PROPERTY_RENTAL_RESPONSE, static_cast(750)); EXPECT_EQ(MessageType::Game::REQUEST_PLATFORM_RESYNC, static_cast(760)); EXPECT_EQ(MessageType::Game::PLATFORM_RESYNC, static_cast(761)); EXPECT_EQ(MessageType::Game::PLAY_CINEMATIC, static_cast(762)); EXPECT_EQ(MessageType::Game::END_CINEMATIC, static_cast(763)); EXPECT_EQ(MessageType::Game::CINEMATIC_UPDATE, static_cast(764)); EXPECT_EQ(MessageType::Game::TOGGLE_GHOST_REFERENCE_OVERRIDE, static_cast(767)); EXPECT_EQ(MessageType::Game::SET_GHOST_REFERENCE_POSITION, static_cast(768)); EXPECT_EQ(MessageType::Game::FIRE_EVENT_SERVER_SIDE, static_cast(770)); EXPECT_EQ(MessageType::Game::SCRIPT_NETWORK_VAR_UPDATE, static_cast(781)); EXPECT_EQ(MessageType::Game::UPDATE_MODEL_FROM_CLIENT, static_cast(793)); EXPECT_EQ(MessageType::Game::DELETE_MODEL_FROM_CLIENT, static_cast(794)); EXPECT_EQ(MessageType::Game::PLAY_ND_AUDIO_EMITTER, static_cast(821)); EXPECT_EQ(MessageType::Game::PLAY2_D_AMBIENT_SOUND, static_cast(831)); EXPECT_EQ(MessageType::Game::ENTER_PROPERTY1, static_cast(840)); EXPECT_EQ(MessageType::Game::ENTER_PROPERTY2, static_cast(841)); EXPECT_EQ(MessageType::Game::PROPERTY_ENTRANCE_SYNC, static_cast(842)); EXPECT_EQ(MessageType::Game::PROPERTY_SELECT_QUERY, static_cast(845)); EXPECT_EQ(MessageType::Game::PARSE_CHAT_MESSAGE, static_cast(850)); EXPECT_EQ(MessageType::Game::BROADCAST_TEXT_TO_CHATBOX, static_cast(858)); EXPECT_EQ(MessageType::Game::OPEN_PROPERTY_MANAGEMENT, static_cast(860)); EXPECT_EQ(MessageType::Game::OPEN_PROPERTY_VENDOR, static_cast(861)); EXPECT_EQ(MessageType::Game::UPDATE_PROPERTY_OR_MODEL_FOR_FILTER_CHECK, static_cast(863)); EXPECT_EQ(MessageType::Game::CLIENT_TRADE_REQUEST, static_cast(868)); EXPECT_EQ(MessageType::Game::SERVER_TRADE_REQUEST, static_cast(869)); EXPECT_EQ(MessageType::Game::SERVER_TRADE_INVITE, static_cast(870)); EXPECT_EQ(MessageType::Game::CLIENT_TRADE_REPLY, static_cast(871)); EXPECT_EQ(MessageType::Game::SERVER_TRADE_REPLY, static_cast(872)); EXPECT_EQ(MessageType::Game::SERVER_TRADE_INITIAL_REPLY, static_cast(873)); EXPECT_EQ(MessageType::Game::SERVER_TRADE_FINAL_REPLY, static_cast(874)); EXPECT_EQ(MessageType::Game::CLIENT_TRADE_UPDATE, static_cast(875)); EXPECT_EQ(MessageType::Game::SERVER_SIDE_TRADE_UPDATE, static_cast(876)); EXPECT_EQ(MessageType::Game::SERVER_TRADE_UPDATE, static_cast(877)); EXPECT_EQ(MessageType::Game::CLIENT_TRADE_CANCEL, static_cast(878)); EXPECT_EQ(MessageType::Game::CLIENT_SIDE_TRADE_CANCEL, static_cast(879)); EXPECT_EQ(MessageType::Game::CLIENT_TRADE_ACCEPT, static_cast(880)); EXPECT_EQ(MessageType::Game::SERVER_SIDE_TRADE_ACCEPT, static_cast(881)); EXPECT_EQ(MessageType::Game::SERVER_SIDE_TRADE_CANCEL, static_cast(882)); EXPECT_EQ(MessageType::Game::SERVER_TRADE_CANCEL, static_cast(883)); EXPECT_EQ(MessageType::Game::SERVER_TRADE_ACCEPT, static_cast(884)); EXPECT_EQ(MessageType::Game::READY_FOR_UPDATES, static_cast(888)); EXPECT_EQ(MessageType::Game::ORIENT_TO_OBJECT, static_cast(905)); EXPECT_EQ(MessageType::Game::ORIENT_TO_POSITION, static_cast(906)); EXPECT_EQ(MessageType::Game::ORIENT_TO_ANGLE, static_cast(907)); EXPECT_EQ(MessageType::Game::BOUNCER_ACTIVE_STATUS, static_cast(942)); EXPECT_EQ(MessageType::Game::UN_USE_BBB_MODEL, static_cast(999)); EXPECT_EQ(MessageType::Game::BBB_LOAD_ITEM_REQUEST, static_cast(1000)); EXPECT_EQ(MessageType::Game::BBB_SAVE_REQUEST, static_cast(1001)); EXPECT_EQ(MessageType::Game::BBB_SAVE_RESPONSE, static_cast(1005)); EXPECT_EQ(MessageType::Game::NOTIFY_CLIENT_OBJECT, static_cast(1042)); EXPECT_EQ(MessageType::Game::DISPLAY_ZONE_SUMMARY, static_cast(1043)); EXPECT_EQ(MessageType::Game::ZONE_SUMMARY_DISMISSED, static_cast(1044)); EXPECT_EQ(MessageType::Game::ACTIVITY_STATE_CHANGE_REQUEST, static_cast(1053)); EXPECT_EQ(MessageType::Game::MODIFY_PLAYER_ZONE_STATISTIC, static_cast(1046)); EXPECT_EQ(MessageType::Game::START_BUILDING_WITH_ITEM, static_cast(1057)); EXPECT_EQ(MessageType::Game::START_ARRANGING_WITH_ITEM, static_cast(1061)); EXPECT_EQ(MessageType::Game::FINISH_ARRANGING_WITH_ITEM, static_cast(1062)); EXPECT_EQ(MessageType::Game::DONE_ARRANGING_WITH_ITEM, static_cast(1063)); EXPECT_EQ(MessageType::Game::SET_BUILD_MODE, static_cast(1068)); EXPECT_EQ(MessageType::Game::BUILD_MODE_SET, static_cast(1069)); EXPECT_EQ(MessageType::Game::SET_BUILD_MODE_CONFIRMED, static_cast(1073)); EXPECT_EQ(MessageType::Game::NOTIFY_CLIENT_FAILED_PRECONDITION, static_cast(1081)); EXPECT_EQ(MessageType::Game::MOVE_ITEM_BETWEEN_INVENTORY_TYPES, static_cast(1093)); EXPECT_EQ(MessageType::Game::MODULAR_BUILD_BEGIN, static_cast(1094)); EXPECT_EQ(MessageType::Game::MODULAR_BUILD_END, static_cast(1095)); EXPECT_EQ(MessageType::Game::MODULAR_BUILD_MOVE_AND_EQUIP, static_cast(1096)); EXPECT_EQ(MessageType::Game::MODULAR_BUILD_FINISH, static_cast(1097)); EXPECT_EQ(MessageType::Game::REPORT_BUG, static_cast(1198)); EXPECT_EQ(MessageType::Game::MISSION_DIALOGUE_CANCELLED, static_cast(1129)); EXPECT_EQ(MessageType::Game::ECHO_SYNC_SKILL, static_cast(1144)); EXPECT_EQ(MessageType::Game::SYNC_SKILL, static_cast(1145)); EXPECT_EQ(MessageType::Game::REQUEST_SERVER_PROJECTILE_IMPACT, static_cast(1148)); EXPECT_EQ(MessageType::Game::DO_CLIENT_PROJECTILE_IMPACT, static_cast(1151)); EXPECT_EQ(MessageType::Game::MODULAR_BUILD_CONVERT_MODEL, static_cast(1155)); EXPECT_EQ(MessageType::Game::SET_PLAYER_ALLOWED_RESPAWN, static_cast(1165)); EXPECT_EQ(MessageType::Game::UI_MESSAGE_SERVER_TO_SINGLE_CLIENT, static_cast(1184)); EXPECT_EQ(MessageType::Game::UI_MESSAGE_SERVER_TO_ALL_CLIENTS, static_cast(1185)); EXPECT_EQ(MessageType::Game::PET_TAMING_TRY_BUILD, static_cast(1197)); EXPECT_EQ(MessageType::Game::REQUEST_SMASH_PLAYER, static_cast(1202)); EXPECT_EQ(MessageType::Game::FIRE_EVENT_CLIENT_SIDE, static_cast(1213)); EXPECT_EQ(MessageType::Game::TOGGLE_GM_INVIS, static_cast(1218)); EXPECT_EQ(MessageType::Game::CHANGE_OBJECT_WORLD_STATE, static_cast(1223)); EXPECT_EQ(MessageType::Game::VEHICLE_LOCK_INPUT, static_cast(1230)); EXPECT_EQ(MessageType::Game::VEHICLE_UNLOCK_INPUT, static_cast(1231)); EXPECT_EQ(MessageType::Game::RACING_RESET_PLAYER_TO_LAST_RESET, static_cast(1252)); EXPECT_EQ(MessageType::Game::RACING_SERVER_SET_PLAYER_LAP_AND_PLANE, static_cast(1253)); EXPECT_EQ(MessageType::Game::RACING_SET_PLAYER_RESET_INFO, static_cast(1254)); EXPECT_EQ(MessageType::Game::RACING_PLAYER_INFO_RESET_FINISHED, static_cast(1255)); EXPECT_EQ(MessageType::Game::LOCK_NODE_ROTATION, static_cast(1260)); EXPECT_EQ(MessageType::Game::VEHICLE_SET_WHEEL_LOCK_STATE, static_cast(1273)); EXPECT_EQ(MessageType::Game::NOTIFY_VEHICLE_OF_RACING_OBJECT, static_cast(1276)); EXPECT_EQ(MessageType::Game::SET_NAME_BILLBOARD_STATE, static_cast(1284)); EXPECT_EQ(MessageType::Game::PLAYER_REACHED_RESPAWN_CHECKPOINT, static_cast(1296)); EXPECT_EQ(MessageType::Game::HANDLE_UGC_POST_DELETE_BASED_ON_EDIT_MODE, static_cast(1300)); EXPECT_EQ(MessageType::Game::HANDLE_UGC_POST_CREATE_BASED_ON_EDIT_MODE, static_cast(1301)); EXPECT_EQ(MessageType::Game::PROPERTY_CONTENTS_FROM_CLIENT, static_cast(1305)); EXPECT_EQ(MessageType::Game::GET_MODELS_ON_PROPERTY, static_cast(1306)); EXPECT_EQ(MessageType::Game::MATCH_REQUEST, static_cast(1308)); EXPECT_EQ(MessageType::Game::MATCH_RESPONSE, static_cast(1309)); EXPECT_EQ(MessageType::Game::MATCH_UPDATE, static_cast(1310)); EXPECT_EQ(MessageType::Game::MODULE_ASSEMBLY_DB_DATA_FOR_CLIENT, static_cast(1131)); EXPECT_EQ(MessageType::Game::MODULE_ASSEMBLY_QUERY_DATA, static_cast(1132)); EXPECT_EQ(MessageType::Game::SHOW_BILLBOARD_INTERACT_ICON, static_cast(1337)); EXPECT_EQ(MessageType::Game::CHANGE_IDLE_FLAGS, static_cast(1338)); EXPECT_EQ(MessageType::Game::VEHICLE_ADD_PASSIVE_BOOST_ACTION, static_cast(1340)); EXPECT_EQ(MessageType::Game::VEHICLE_REMOVE_PASSIVE_BOOST_ACTION, static_cast(1341)); EXPECT_EQ(MessageType::Game::NOTIFY_SERVER_VEHICLE_ADD_PASSIVE_BOOST_ACTION, static_cast(1342)); EXPECT_EQ(MessageType::Game::NOTIFY_SERVER_VEHICLE_REMOVE_PASSIVE_BOOST_ACTION, static_cast(1343)); EXPECT_EQ(MessageType::Game::VEHICLE_ADD_SLOWDOWN_ACTION, static_cast(1344)); EXPECT_EQ(MessageType::Game::VEHICLE_REMOVE_SLOWDOWN_ACTION, static_cast(1345)); EXPECT_EQ(MessageType::Game::NOTIFY_SERVER_VEHICLE_ADD_SLOWDOWN_ACTION, static_cast(1346)); EXPECT_EQ(MessageType::Game::NOTIFY_SERVER_VEHICLE_REMOVE_SLOWDOWN_ACTION, static_cast(1347)); EXPECT_EQ(MessageType::Game::BUYBACK_FROM_VENDOR, static_cast(1350)); EXPECT_EQ(MessageType::Game::SET_PROPERTY_ACCESS, static_cast(1366)); EXPECT_EQ(MessageType::Game::ZONE_PROPERTY_MODEL_PLACED, static_cast(1369)); EXPECT_EQ(MessageType::Game::ZONE_PROPERTY_MODEL_ROTATED, static_cast(1370)); EXPECT_EQ(MessageType::Game::ZONE_PROPERTY_MODEL_REMOVED_WHILE_EQUIPPED, static_cast(1371)); EXPECT_EQ(MessageType::Game::ZONE_PROPERTY_MODEL_EQUIPPED, static_cast(1372)); EXPECT_EQ(MessageType::Game::ZONE_PROPERTY_MODEL_PICKED_UP, static_cast(1373)); EXPECT_EQ(MessageType::Game::ZONE_PROPERTY_MODEL_REMOVED, static_cast(1374)); EXPECT_EQ(MessageType::Game::NOTIFY_RACING_CLIENT, static_cast(1390)); EXPECT_EQ(MessageType::Game::RACING_PLAYER_HACK_CAR, static_cast(1391)); EXPECT_EQ(MessageType::Game::RACING_PLAYER_LOADED, static_cast(1392)); EXPECT_EQ(MessageType::Game::RACING_CLIENT_READY, static_cast(1393)); EXPECT_EQ(MessageType::Game::UPDATE_CHAT_MODE, static_cast(1395)); EXPECT_EQ(MessageType::Game::VEHICLE_NOTIFY_FINISHED_RACE, static_cast(1396)); EXPECT_EQ(MessageType::Game::SET_CONSUMABLE_ITEM, static_cast(1409)); EXPECT_EQ(MessageType::Game::SET_STATUS_IMMUNITY, static_cast(1435)); EXPECT_EQ(MessageType::Game::SET_PET_NAME_MODERATED, static_cast(1448)); EXPECT_EQ(MessageType::Game::MODIFY_LEGO_SCORE, static_cast(1459)); EXPECT_EQ(MessageType::Game::RESTORE_TO_POST_LOAD_STATS, static_cast(1468)); EXPECT_EQ(MessageType::Game::SET_RAIL_MOVEMENT, static_cast(1471)); EXPECT_EQ(MessageType::Game::START_RAIL_MOVEMENT, static_cast(1472)); EXPECT_EQ(MessageType::Game::CANCEL_RAIL_MOVEMENT, static_cast(1474)); EXPECT_EQ(MessageType::Game::CLIENT_RAIL_MOVEMENT_READY, static_cast(1476)); EXPECT_EQ(MessageType::Game::PLAYER_RAIL_ARRIVED_NOTIFICATION, static_cast(1477)); EXPECT_EQ(MessageType::Game::UPDATE_PLAYER_STATISTIC, static_cast(1481)); EXPECT_EQ(MessageType::Game::MODULAR_ASSEMBLY_NIF_COMPLETED, static_cast(1498)); EXPECT_EQ(MessageType::Game::NOTIFY_NOT_ENOUGH_INV_SPACE, static_cast(1516)); EXPECT_EQ(MessageType::Game::TEAM_SET_LEADER, static_cast(1557)); EXPECT_EQ(MessageType::Game::TEAM_INVITE_CONFIRM, static_cast(1558)); EXPECT_EQ(MessageType::Game::TEAM_GET_STATUS_RESPONSE, static_cast(1559)); EXPECT_EQ(MessageType::Game::TEAM_ADD_PLAYER, static_cast(1562)); EXPECT_EQ(MessageType::Game::TEAM_REMOVE_PLAYER, static_cast(1563)); EXPECT_EQ(MessageType::Game::START_CELEBRATION_EFFECT, static_cast(1618)); EXPECT_EQ(MessageType::Game::ADD_BUFF, static_cast(1647)); EXPECT_EQ(MessageType::Game::SERVER_DONE_LOADING_ALL_OBJECTS, static_cast(1642)); EXPECT_EQ(MessageType::Game::PLACE_PROPERTY_MODEL, static_cast(1170)); EXPECT_EQ(MessageType::Game::VEHICLE_NOTIFY_HIT_IMAGINATION_SERVER, static_cast(1606)); EXPECT_EQ(MessageType::Game::ADD_RUN_SPEED_MODIFIER, static_cast(1505)); EXPECT_EQ(MessageType::Game::GET_HOT_PROPERTY_DATA, static_cast(1511)); EXPECT_EQ(MessageType::Game::SEND_HOT_PROPERTY_DATA, static_cast(1510)); EXPECT_EQ(MessageType::Game::REMOVE_RUN_SPEED_MODIFIER, static_cast(1506)); EXPECT_EQ(MessageType::Game::UPDATE_PROPERTY_PERFORMANCE_COST, static_cast(1547)); EXPECT_EQ(MessageType::Game::PROPERTY_ENTRANCE_BEGIN, static_cast(1553)); EXPECT_EQ(MessageType::Game::SET_RESURRECT_RESTORE_VALUES, static_cast(1591)); EXPECT_EQ(MessageType::Game::VEHICLE_STOP_BOOST, static_cast(1617)); EXPECT_EQ(MessageType::Game::REMOVE_BUFF, static_cast(1648)); EXPECT_EQ(MessageType::Game::REQUEST_MOVE_ITEM_BETWEEN_INVENTORY_TYPES, static_cast(1666)); EXPECT_EQ(MessageType::Game::RESPONSE_MOVE_ITEM_BETWEEN_INVENTORY_TYPES, static_cast(1667)); EXPECT_EQ(MessageType::Game::PLAYER_SET_CAMERA_CYCLING_MODE, static_cast(1676)); EXPECT_EQ(MessageType::Game::SET_MOUNT_INVENTORY_ID, static_cast(1727)); EXPECT_EQ(MessageType::Game::NOTIFY_SERVER_LEVEL_PROCESSING_COMPLETE, static_cast(1734)); EXPECT_EQ(MessageType::Game::NOTIFY_LEVEL_REWARDS, static_cast(1735)); EXPECT_EQ(MessageType::Game::DISMOUNT_COMPLETE, static_cast(1756)); EXPECT_EQ(MessageType::Game::MARK_INVENTORY_ITEM_AS_ACTIVE, static_cast(1767)); }