Beispiel #1
0
void EventService::SendReliable(Event& _event, peers_t& _peerList)
{
	for(peers_t::iterator it = _peerList.begin(); it != _peerList.end(); ++it)
	{
		Peer& peer = (*it);
		SendReliable(_event, peer);
	}
}
Beispiel #2
0
void ServerLink::SendDataRequest() {
	Packet::Packet packet 
      { Packet::Type::kDataRequest, uint8_t(server_slot_), {'0'} };
  SendReliable(packet);
}
Beispiel #3
0
void ServerLink::SendReliable(Game::Property::Stream properties) {
	Packet::Packet packet 
      { Packet::Type::kProperties, uint8_t(server_slot_), properties.Packed() };
  SendReliable(packet);
}