| | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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"]];//必填 |