फ़ंक्शन का इस्तेमाल, कुंजी के लिए वैल्यू सेट करने के लिए किया जाता है.
user_data
void * TFCache::user_data
हर कॉलबैक को डेटा भेजा जाता है.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],[],null,["# TFCache Struct Reference\n\nTFCache\n=======\n\n`#include \u003ctuningfork.h\u003e`\n\nAn object used to cache upload data when no connection is available.\n\nSummary\n-------\n\nIf you do not supply one of these, data is saved to a temporary file.\n\n| ### Public attributes ||\n|-------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [get](#struct_t_f_cache_1a8c4095e4fe3f46d7b64f18631147787d) | [PFnTFCacheGet](/games/sdk/reference/performance-tuner/custom-engine/group/t-f-cache#group___t_f_cache_1ga368ffbab21fc87f05f680f399eab3e7c) Function to get a value for a key. |\n| [remove](#struct_t_f_cache_1a5656c0622a5b79635af6e446208cf687) | [PFnTFCacheRemove](/games/sdk/reference/performance-tuner/custom-engine/group/t-f-cache#group___t_f_cache_1gaeba6aa5ca1cc9a6542eb4cd2009f4d10) Function to remove an entry in the cache. |\n| [set](#struct_t_f_cache_1a3a86f725982d4c549c0cb41c31b569de) | [PFnTFCacheSet](/games/sdk/reference/performance-tuner/custom-engine/group/t-f-cache#group___t_f_cache_1gadc752781c31efad865ea556ea7a265d3) Function to set a value for a key. |\n| [user_data](#struct_t_f_cache_1ab4d0ce145124f8de6e920d6bf95dc6f7) | `void *` Data passed to each callback. |\n\nPublic attributes\n-----------------\n\n### get\n\n```text\nPFnTFCacheGet TFCache::get\n``` \nFunction to get a value for a key. \n\n### remove\n\n```text\nPFnTFCacheRemove TFCache::remove\n``` \nFunction to remove an entry in the cache. \n\n### set\n\n```text\nPFnTFCacheSet TFCache::set\n``` \nFunction to set a value for a key. \n\n### user_data\n\n```scdoc\nvoid * TFCache::user_data\n``` \nData passed to each callback."]]