hch
2023-07-12 a9d70b8f82b914c0425b7e0fde730957f8cbf7cf
Channel/IOS/hyx7game/Plugins/The2thWorldSDK/UniversalSDK.mm
@@ -437,8 +437,8 @@
            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";
            gameRoleInfo.profession = @"0";
         
            [[SMPCQuickSDK defaultInstance] updateRoleInfoWith:gameRoleInfo isCreate:NO];//如果这个角色是刚刚创建的,这里isCreate可以传YES
            break;
@@ -459,8 +459,8 @@
            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";
            gameRoleInfo.profession = @"0";
         
            [[SMPCQuickSDK defaultInstance] updateRoleInfoWith:gameRoleInfo isCreate:NO];//如果这个角色是刚刚创建的,这里isCreate可以传YES
            break;
@@ -481,8 +481,8 @@
            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";
            role.profession = @"0";
         
            order.goodsID = [NSString stringWithFormat:@"%@", [_dict objectForKey:@"cpInfo"]]; //必填 iap时注意和苹果开发者后台一致,或者渠道映射的
            order.productName = [NSString stringWithFormat:@"%@", [_dict objectForKey:@"title"]];//必填