Add an interface for snapshot classes and simplify ServerGameState packet sending code.