#include #include #include int main() { boost::shared_ptr packet(new NetPacket(NetPacket::Alloc)); packet->GetMsg()->present = PokerTHMessage_PR_announceMessage; AnnounceMessage_t *netAnnounce = &packet->GetMsg()->choice.announceMessage; netAnnounce->protocolVersion.major = NET_VERSION_MAJOR; netAnnounce->protocolVersion.minor = NET_VERSION_MINOR; netAnnounce->latestGameVersion.major = POKERTH_VERSION_MAJOR; netAnnounce->latestGameVersion.minor = POKERTH_VERSION_MINOR; netAnnounce->latestBetaRevision = POKERTH_BETA_REVISION; return 0; }