import "steammessages.proto";

option optimize_for = SPEED;
option cc_generic_services = false;

enum EGCItemMsg {
	k_EMsgGCBase = 1000;
	k_EMsgGCSetItemPosition = 1001;
	k_EMsgGCCraft = 1002;
	k_EMsgGCCraftResponse = 1003;
	k_EMsgGCDelete = 1004;
	k_EMsgGCVerifyCacheSubscription = 1005;
	k_EMsgGCNameItem = 1006;
	k_EMsgGCUnlockCrate = 1007;
	k_EMsgGCUnlockCrateResponse = 1008;
	k_EMsgGCPaintItem = 1009;
	k_EMsgGCPaintItemResponse = 1010;
	k_EMsgGCGoldenWrenchBroadcast = 1011;
	k_EMsgGCMOTDRequest = 1012;
	k_EMsgGCMOTDRequestResponse = 1013;
	k_EMsgGCAddItemToSocket_DEPRECATED = 1014;
	k_EMsgGCAddItemToSocketResponse_DEPRECATED = 1015;
	k_EMsgGCAddSocketToBaseItem_DEPRECATED = 1016;
	k_EMsgGCAddSocketToItem_DEPRECATED = 1017;
	k_EMsgGCAddSocketToItemResponse_DEPRECATED = 1018;
	k_EMsgGCNameBaseItem = 1019;
	k_EMsgGCNameBaseItemResponse = 1020;
	k_EMsgGCRemoveSocketItem_DEPRECATED = 1021;
	k_EMsgGCRemoveSocketItemResponse_DEPRECATED = 1022;
	k_EMsgGCCustomizeItemTexture = 1023;
	k_EMsgGCCustomizeItemTextureResponse = 1024;
	k_EMsgGCUseItemRequest = 1025;
	k_EMsgGCUseItemResponse = 1026;
	k_EMsgGCGiftedItems_DEPRECATED = 1027;
	k_EMsgGCRemoveItemName = 1030;
	k_EMsgGCRemoveItemPaint = 1031;
	k_EMsgGCGiftWrapItem = 1032;
	k_EMsgGCGiftWrapItemResponse = 1033;
	k_EMsgGCDeliverGift = 1034;
	k_EMsgGCDeliverGiftResponseGiver = 1035;
	k_EMsgGCDeliverGiftResponseReceiver = 1036;
	k_EMsgGCUnwrapGiftRequest = 1037;
	k_EMsgGCUnwrapGiftResponse = 1038;
	k_EMsgGCSetItemStyle = 1039;
	k_EMsgGCUsedClaimCodeItem = 1040;
	k_EMsgGCSortItems = 1041;
	k_EMsgGC_RevolvingLootList_DEPRECATED = 1042;
	k_EMsgGCLookupAccount = 1043;
	k_EMsgGCLookupAccountResponse = 1044;
	k_EMsgGCLookupAccountName = 1045;
	k_EMsgGCLookupAccountNameResponse = 1046;
	k_EMsgGCUpdateItemSchema = 1049;
	k_EMsgGCRemoveCustomTexture = 1051;
	k_EMsgGCRemoveCustomTextureResponse = 1052;
	k_EMsgGCRemoveMakersMark = 1053;
	k_EMsgGCRemoveMakersMarkResponse = 1054;
	k_EMsgGCRemoveUniqueCraftIndex = 1055;
	k_EMsgGCRemoveUniqueCraftIndexResponse = 1056;
	k_EMsgGCSaxxyBroadcast = 1057;
	k_EMsgGCBackpackSortFinished = 1058;
	k_EMsgGCAdjustItemEquippedState = 1059;
	k_EMsgGCCollectItem = 1061;
	k_EMsgGCItemAcknowledged__DEPRECATED = 1062;
	k_EMsgGC_ReportAbuse = 1065;
	k_EMsgGC_ReportAbuseResponse = 1066;
	k_EMsgGCNameItemNotification = 1068;
	k_EMsgGCApplyConsumableEffects = 1069;
	k_EMsgGCConsumableExhausted = 1070;
	k_EMsgGCShowItemsPickedUp = 1071;
	k_EMsgGCClientDisplayNotification = 1072;
	k_EMsgGCApplyStrangePart = 1073;
	k_EMsgGC_IncrementKillCountAttribute = 1074;
	k_EMsgGC_IncrementKillCountResponse = 1075;
	k_EMsgGCApplyPennantUpgrade = 1076;
	k_EMsgGCSetItemPositions = 1077;
	k_EMsgGCApplyEggEssence = 1078;
	k_EMsgGCNameEggEssenceResponse = 1079;
	k_EMsgGCPaintKitItem = 1080;
	k_EMsgGCPaintKitBaseItem = 1081;
	k_EMsgGCPaintKitItemResponse = 1082;
	k_EMsgGCGiftedItems = 1083;
	k_EMsgGCUnlockItemStyle = 1084;
	k_EMsgGCUnlockItemStyleResponse = 1085;
	k_EMsgGCApplySticker = 1086;
	k_EMsgGCItemAcknowledged = 1087;
	k_EMsgGCStatTrakSwap = 1088;
	k_EMsgGCUserTrackTimePlayedConsecutively = 1089;
	k_EMsgGCItemCustomizationNotification = 1090;
	k_EMsgGCModifyItemAttribute = 1091;
	k_EMsgGCCasketItemAdd = 1092;
	k_EMsgGCCasketItemExtract = 1093;
	k_EMsgGCCasketItemLoadContents = 1094;
	k_EMsgGCTradingBase = 1500;
	k_EMsgGCTrading_InitiateTradeRequest = 1501;
	k_EMsgGCTrading_InitiateTradeResponse = 1502;
	k_EMsgGCTrading_StartSession = 1503;
	k_EMsgGCTrading_SetItem = 1504;
	k_EMsgGCTrading_RemoveItem = 1505;
	k_EMsgGCTrading_UpdateTradeInfo = 1506;
	k_EMsgGCTrading_SetReadiness = 1507;
	k_EMsgGCTrading_ReadinessResponse = 1508;
	k_EMsgGCTrading_SessionClosed = 1509;
	k_EMsgGCTrading_CancelSession = 1510;
	k_EMsgGCTrading_TradeChatMsg = 1511;
	k_EMsgGCTrading_ConfirmOffer = 1512;
	k_EMsgGCTrading_TradeTypingChatMsg = 1513;
	k_EMsgGCServerBrowser_FavoriteServer = 1601;
	k_EMsgGCServerBrowser_BlacklistServer = 1602;
	k_EMsgGCServerRentalsBase = 1700;
	k_EMsgGCItemPreviewCheckStatus = 1701;
	k_EMsgGCItemPreviewStatusResponse = 1702;
	k_EMsgGCItemPreviewRequest = 1703;
	k_EMsgGCItemPreviewRequestResponse = 1704;
	k_EMsgGCItemPreviewExpire = 1705;
	k_EMsgGCItemPreviewExpireNotification = 1706;
	k_EMsgGCItemPreviewItemBoughtNotification = 1707;
	k_EMsgGCDev_NewItemRequest = 2001;
	k_EMsgGCDev_NewItemRequestResponse = 2002;
	k_EMsgGCDev_PaintKitDropItem = 2003;
	k_EMsgGCStoreGetUserData = 2500;
	k_EMsgGCStoreGetUserDataResponse = 2501;
	k_EMsgGCStorePurchaseInit_DEPRECATED = 2502;
	k_EMsgGCStorePurchaseInitResponse_DEPRECATED = 2503;
	k_EMsgGCStorePurchaseFinalize = 2504;
	k_EMsgGCStorePurchaseFinalizeResponse = 2505;
	k_EMsgGCStorePurchaseCancel = 2506;
	k_EMsgGCStorePurchaseCancelResponse = 2507;
	k_EMsgGCStorePurchaseQueryTxn = 2508;
	k_EMsgGCStorePurchaseQueryTxnResponse = 2509;
	k_EMsgGCStorePurchaseInit = 2510;
	k_EMsgGCStorePurchaseInitResponse = 2511;
	k_EMsgGCBannedWordListRequest = 2512;
	k_EMsgGCBannedWordListResponse = 2513;
	k_EMsgGCToGCBannedWordListBroadcast = 2514;
	k_EMsgGCToGCBannedWordListUpdated = 2515;
	k_EMsgGCToGCDirtySDOCache = 2516;
	k_EMsgGCToGCDirtyMultipleSDOCache = 2517;
	k_EMsgGCToGCUpdateSQLKeyValue = 2518;
	k_EMsgGCToGCIsTrustedServer = 2519;
	k_EMsgGCToGCIsTrustedServerResponse = 2520;
	k_EMsgGCToGCBroadcastConsoleCommand = 2521;
	k_EMsgGCServerVersionUpdated = 2522;
	k_EMsgGCApplyAutograph = 2523;
	k_EMsgGCToGCWebAPIAccountChanged = 2524;
	k_EMsgGCRequestAnnouncements = 2525;
	k_EMsgGCRequestAnnouncementsResponse = 2526;
	k_EMsgGCRequestPassportItemGrant = 2527;
	k_EMsgGCClientVersionUpdated = 2528;
	k_EMsgGCAdjustItemEquippedStateMulti = 2529;
}

enum EGCMsgResponse {
	k_EGCMsgResponseOK = 0;
	k_EGCMsgResponseDenied = 1;
	k_EGCMsgResponseServerError = 2;
	k_EGCMsgResponseTimeout = 3;
	k_EGCMsgResponseInvalid = 4;
	k_EGCMsgResponseNoMatch = 5;
	k_EGCMsgResponseUnknownError = 6;
	k_EGCMsgResponseNotLoggedOn = 7;
	k_EGCMsgFailedToCreate = 8;
	k_EGCMsgLimitExceeded = 9;
	k_EGCMsgCommitUnfinalized = 10;
}

enum EUnlockStyle {
	k_UnlockStyle_Succeeded = 0;
	k_UnlockStyle_Failed_PreReq = 1;
	k_UnlockStyle_Failed_CantAfford = 2;
	k_UnlockStyle_Failed_CantCommit = 3;
	k_UnlockStyle_Failed_CantLockCache = 4;
	k_UnlockStyle_Failed_CantAffordAttrib = 5;
}

enum EGCItemCustomizationNotification {
	k_EGCItemCustomizationNotification_NameItem = 1006;
	k_EGCItemCustomizationNotification_UnlockCrate = 1007;
	k_EGCItemCustomizationNotification_XRayItemReveal = 1008;
	k_EGCItemCustomizationNotification_XRayItemClaim = 1009;
	k_EGCItemCustomizationNotification_CasketTooFull = 1011;
	k_EGCItemCustomizationNotification_CasketContents = 1012;
	k_EGCItemCustomizationNotification_CasketAdded = 1013;
	k_EGCItemCustomizationNotification_CasketRemoved = 1014;
	k_EGCItemCustomizationNotification_CasketInvFull = 1015;
	k_EGCItemCustomizationNotification_NameBaseItem = 1019;
	k_EGCItemCustomizationNotification_RemoveItemName = 1030;
	k_EGCItemCustomizationNotification_RemoveSticker = 1053;
	k_EGCItemCustomizationNotification_ApplySticker = 1086;
	k_EGCItemCustomizationNotification_StatTrakSwap = 1088;
	k_EGCItemCustomizationNotification_RemovePatch = 1089;
	k_EGCItemCustomizationNotification_ApplyPatch = 1090;
	k_EGCItemCustomizationNotification_ActivateFanToken = 9178;
	k_EGCItemCustomizationNotification_ActivateOperationCoin = 9179;
	k_EGCItemCustomizationNotification_GraffitiUnseal = 9185;
	k_EGCItemCustomizationNotification_GenerateSouvenir = 9204;
}

message CMsgGCGiftedItems {
	optional uint32 accountid = 1;
	optional uint32 giftdefindex = 2;
	optional uint32 max_gifts_possible = 3;
	optional uint32 num_eligible_recipients = 4;
	repeated uint32 recipients_accountids = 5;
}

message CMsgApplyAutograph {
	optional uint64 autograph_item_id = 1;
	optional uint64 item_item_id = 2;
}

message CMsgCasketItem {
	optional uint64 casket_item_id = 1;
	optional uint64 item_item_id = 2;
}

message CMsgGCUserTrackTimePlayedConsecutively {
	optional uint32 state = 1;
}

message CMsgGCItemCustomizationNotification {
	repeated uint64 item_id = 1;
	optional uint32 request = 2;
}
