武装突袭3

武装突袭3

评价数不足
Dictionary
   
奖励
收藏
已收藏
取消收藏
Data Type: Mod
Mod Type: Mechanics
文件大小
发表于
131.876 KB
2017 年 10 月 12 日 下午 2:51
1 项改动说明 ( 查看 )

订阅以下载
Dictionary

描述
This mod implements a dictionary API for SQF. A dictionary is a data structure to store arbitrary hierarchical data in a serializable format.

Arma does not have dictionaries implemented out of the box, and it does not provide an interface to serialize its data structures to a string. This mod solves these problems by implementing a transparent dictionary API to store data in-memory (in Arma engine) that can trivially be converted to and from a string.

Details on github[github.com], including tests. Signed. Licenced under BSD-3.
6 条留言
MaxP 2021 年 5 月 8 日 上午 6:28 
Wrapper for Arma 3 HashMap function, introduced in v.2.01:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2479887861
MaxP 2020 年 12 月 30 日 上午 3:04 
Lego 2020 年 12 月 25 日 上午 9:39 
this is not enough output from the rpt. -> I recommend to post an issue in the mentioned github.

Maybe _key or _value so is now a reserved variable, meaning it needs to be renamed.
MaxP 2020 年 12 月 25 日 上午 9:34 
Hi, I'm getting the following error in the log:
20:30:44 Error in expression <n object.", _arguments];
};
_dictionary setVariable [toLower _key, _value, true]>
20:30:44 Error position: <setVariable [toLower _key, _value, true]>
20:30:44 Error Reserved variable in expression
20:30:44 File dictionary\fnc__set.sqf [DICT_fnc__set]..., line 31

How I coudl fix it?
MaxP 2020 年 9 月 27 日 上午 3:58 
Thanks a lot!
Lego 2020 年 1 月 6 日 下午 12:09 
Well done. :)