با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ابزارهای Cache Tuning Fork
شیء حافظه پنهان دائمی اختیاری برای استفاده با Tuning Fork.
خلاصه
Typedefs |
---|
PFnTFCacheGet )(uint64_t key, CProtobufSerialization *value, void *user_data) | typedef |
PFnTFCacheRemove )(uint64_t key, void *user_data) | typedef |
PFnTFCacheSet )(uint64_t key, const CProtobufSerialization *value, void *user_data) | typedef |
سازه ها |
---|
TFCache | شیء مورد استفاده برای ذخیره اطلاعات آپلود زمانی که هیچ اتصالی وجود ندارد. |
Typedefs
PFnTFCacheGet
TFErrorCode(* PFnTFCacheGet)(uint64_t key, CProtobufSerialization *value, void *user_data)
اشاره گر به تابعی که می تواند به TFCache::get متصل شود.
تابعی که برای بدست آوردن مقدار یک کلید فراخوانی می شود. همچنین ببینید: TFCache
PFnTFCacheRemove
TFErrorCode(* PFnTFCacheRemove)(uint64_t key, void *user_data)
اشاره گر به تابعی که می تواند به TFCache::remove متصل شود.
تابعی که برای حذف یک ورودی در حافظه پنهان فراخوانی می شود. همچنین ببینید: TFCache
PFnTFCacheSet
TFErrorCode(* PFnTFCacheSet)(uint64_t key, const CProtobufSerialization *value, void *user_data)
اشاره گر به تابعی که می تواند به TFCache::set متصل شود.
تابعی که برای تعیین مقدار یک کلید فراخوانی می شود. همچنین ببینید: TFCache
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Tuning Fork cache utilities\n===========================\n\nOptional persistent cache object to use with Tuning Fork.\n\nSummary\n-------\n\n| ### Typedefs ||\n|------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [PFnTFCacheGet](#group___t_f_cache_1ga368ffbab21fc87f05f680f399eab3e7c)`)(uint64_t key, CProtobufSerialization *value, void *user_data)` | typedef [TFErrorCode](/games/sdk/reference/performance-tuner/custom-engine/group/tuningfork#group__tuningfork_1gaa2f4878a49a6309e1c0af6ca76f1149f)`(*` Pointer to a function that can be attached to [TFCache::get](/games/sdk/reference/performance-tuner/custom-engine/struct/t-f-cache#struct_t_f_cache_1a8c4095e4fe3f46d7b64f18631147787d). |\n| [PFnTFCacheRemove](#group___t_f_cache_1gaeba6aa5ca1cc9a6542eb4cd2009f4d10)`)(uint64_t key, void *user_data)` | typedef [TFErrorCode](/games/sdk/reference/performance-tuner/custom-engine/group/tuningfork#group__tuningfork_1gaa2f4878a49a6309e1c0af6ca76f1149f)`(*` Pointer to a function that can be attached to [TFCache::remove](/games/sdk/reference/performance-tuner/custom-engine/struct/t-f-cache#struct_t_f_cache_1a5656c0622a5b79635af6e446208cf687). |\n| [PFnTFCacheSet](#group___t_f_cache_1gadc752781c31efad865ea556ea7a265d3)`)(uint64_t key, const CProtobufSerialization *value, void *user_data)` | typedef [TFErrorCode](/games/sdk/reference/performance-tuner/custom-engine/group/tuningfork#group__tuningfork_1gaa2f4878a49a6309e1c0af6ca76f1149f)`(*` Pointer to a function that can be attached to [TFCache::set](/games/sdk/reference/performance-tuner/custom-engine/struct/t-f-cache#struct_t_f_cache_1a3a86f725982d4c549c0cb41c31b569de). |\n\n| ### Structs ||\n|----------------------------------------------------------------------------------|----------------------------------------------------------------------|\n| [TFCache](/games/sdk/reference/performance-tuner/custom-engine/struct/t-f-cache) | An object used to cache upload data when no connection is available. |\n\nTypedefs\n--------\n\n### PFnTFCacheGet\n\n```scdoc\nTFErrorCode(* PFnTFCacheGet)(uint64_t key, CProtobufSerialization *value, void *user_data)\n``` \nPointer to a function that can be attached to [TFCache::get](/games/sdk/reference/performance-tuner/custom-engine/struct/t-f-cache#struct_t_f_cache_1a8c4095e4fe3f46d7b64f18631147787d).\n\nFunction that will be called to get a value for a key. **See also:** [TFCache](/games/sdk/reference/performance-tuner/custom-engine/struct/t-f-cache#struct_t_f_cache) \n\n### PFnTFCacheRemove\n\n```scdoc\nTFErrorCode(* PFnTFCacheRemove)(uint64_t key, void *user_data)\n``` \nPointer to a function that can be attached to [TFCache::remove](/games/sdk/reference/performance-tuner/custom-engine/struct/t-f-cache#struct_t_f_cache_1a5656c0622a5b79635af6e446208cf687).\n\nFunction that will be called to remove an entry in the cache. **See also:** [TFCache](/games/sdk/reference/performance-tuner/custom-engine/struct/t-f-cache#struct_t_f_cache) \n\n### PFnTFCacheSet\n\n```gdscript\nTFErrorCode(* PFnTFCacheSet)(uint64_t key, const CProtobufSerialization *value, void *user_data)\n``` \nPointer to a function that can be attached to [TFCache::set](/games/sdk/reference/performance-tuner/custom-engine/struct/t-f-cache#struct_t_f_cache_1a3a86f725982d4c549c0cb41c31b569de).\n\nFunction that will be called to set a value for a key. **See also:** [TFCache](/games/sdk/reference/performance-tuner/custom-engine/struct/t-f-cache#struct_t_f_cache)"]]