Dic1: setObject (CCInteger: create (tonumber (39123), "1")
Dic1: setObject (CCBool: create (true), "2")
LuaController: comFunc (" LoadRes dic1)
Is probably LuaController have a LoadRes export method, his argument is a dictionary, the dictionary is the specific values,
CodePudding user response:
The practice of our project is to save a lua object, and then use josn_encode into a string, and decode in c + +, but it should be a lot of trouble XD, this should be simple enoughCodePudding user response:
Simple enough