Fix type of AGame.cards and AGame.packet
fix protected/private