Exemple #1
0
        public string callStringFuncWithParam(string functionName, AnySDKParam param)
        {
            List <AnySDKParam> list = new List <AnySDKParam>();

            list.Add(param);
            StringBuilder stringBuilder = new StringBuilder();

            stringBuilder.Capacity = 1024;
            AnySDKUser.AnySDKUser_nativeCallStringFuncWithParam(functionName, list.ToArray(), list.Count, stringBuilder);
            return(stringBuilder.ToString());
        }
Exemple #2
0
        public string callStringFuncWithParam(string functionName, List <AnySDKParam> param = null)
        {
            StringBuilder stringBuilder = new StringBuilder();

            stringBuilder.Capacity = 1024;
            if (param == null)
            {
                AnySDKUser.AnySDKUser_nativeCallStringFuncWithParam(functionName, null, 0, stringBuilder);
            }
            else
            {
                AnySDKUser.AnySDKUser_nativeCallStringFuncWithParam(functionName, param.ToArray(), param.Count, stringBuilder);
            }
            return(stringBuilder.ToString());
        }