Are you trying to define a function (GameConnction::nextCamTarget)? You need to use the function keyword and an argument listing. Although, it does seem like you are trying to define a player datablock. Use datablock playerData(objectNameHere) for that.
Oh, and some other things:
rot is not a datablock member field the engine uses.
Member fields do not use context indicators (%/$).
In any case (also an extension to addition #1), you cannot rotate a player's camera on the Z axis with a datablock.