示例#1
0
        public ApolloResult GetRecord(ref ApolloAccountInfo pAccountInfo)
        {
            StringBuilder builder = new StringBuilder(0x1000);
            ApolloResult  result  = apollo_account_getRecord(base.ObjectId, builder, 0x1000);
            string        src     = builder.ToString();

            ADebug.Log(string.Concat(new object[] { "GetRecord:", result, ", ", src }));
            if (src.Length > 0)
            {
                pAccountInfo.FromString(src);
            }
            return(result);
        }
示例#2
0
        public ApolloResult GetRecord(ref ApolloAccountInfo pAccountInfo)
        {
            StringBuilder stringBuilder = new StringBuilder(4096);
            ApolloResult  apolloResult  = ApolloAccountService.apollo_account_getRecord(base.ObjectId, stringBuilder, 4096);
            string        text          = stringBuilder.ToString();

            ADebug.Log(string.Concat(new object[]
            {
                "GetRecord:",
                apolloResult,
                ", ",
                text
            }));
            if (text.get_Length() > 0)
            {
                pAccountInfo.FromString(text);
            }
            return(apolloResult);
        }