Channel/IOS/hyx7game/Plugins/The2thWorldSDK/UniversalSDK.mm
@@ -415,7 +415,11 @@
            gameRoleInfo.gameUserLevel = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"level"]];
            gameRoleInfo.partyName = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"familyName"]];
            gameRoleInfo.creatTime = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"createTime"]];
            gameRoleInfo.partyId = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"familyID"]];
            gameRoleInfo.fightPower = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"fightPower"]];
            gameRoleInfo.professionId = @"-1";
            gameRoleInfo.profession = @"-1";
            [[SMPCQuickSDK defaultInstance] updateRoleInfoWith:gameRoleInfo isCreate:YES];//如果这个角色是刚刚创建的,这里isCreate可以传YES
            break;
        }
@@ -432,7 +436,11 @@
            gameRoleInfo.gameUserLevel = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"level"]];
            gameRoleInfo.partyName = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"familyName"]];
            gameRoleInfo.creatTime = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"createTime"]];
         gameRoleInfo.partyId = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"familyID"]];
            gameRoleInfo.fightPower = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"fightPower"]];
         gameRoleInfo.professionId = @"-1";
            gameRoleInfo.profession = @"-1";
            [[SMPCQuickSDK defaultInstance] updateRoleInfoWith:gameRoleInfo isCreate:NO];//如果这个角色是刚刚创建的,这里isCreate可以传YES
            break;
        }
@@ -450,7 +458,11 @@
            gameRoleInfo.gameUserLevel = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"level"]];
            gameRoleInfo.partyName = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"familyName"]];
            gameRoleInfo.creatTime = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"createTime"]];
            gameRoleInfo.partyId = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"familyID"]];
            gameRoleInfo.fightPower = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"fightPower"]];
         gameRoleInfo.professionId = @"-1";
            gameRoleInfo.profession = @"-1";
            [[SMPCQuickSDK defaultInstance] updateRoleInfoWith:gameRoleInfo isCreate:NO];//如果这个角色是刚刚创建的,这里isCreate可以传YES
            break;
        }
@@ -468,7 +480,11 @@
            role.gameUserLevel = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"level"]];
            role.partyName = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"familyName"]];
            role.creatTime = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"createTime"]];
         role.partyId = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"familyID"]];
            role.fightPower = [NSString stringWithFormat:@"%@",[_dict objectForKey:@"fightPower"]];
            role.professionId = @"-1";
            role.profession = @"-1";
            order.goodsID = [NSString stringWithFormat:@"%@", [_dict objectForKey:@"cpInfo"]]; //必填 iap时注意和苹果开发者后台一致,或者渠道映射的
            order.productName = [NSString stringWithFormat:@"%@", [_dict objectForKey:@"title"]];//必填
            order.cpOrderID = [NSString stringWithFormat:@"%@", [_dict objectForKey:@"orderId"]]; //必填 游戏订单号