Fonction permettant de définir une valeur pour une touche.
user_data
void * TFCache::user_data
Données transmises à chaque rappel.
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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."]]