Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9521 in orxonox.OLD for branches/proxy/src/world_entities


Ignore:
Timestamp:
Jul 27, 2006, 7:51:06 PM (18 years ago)
Author:
patrick
Message:

extended the callback function for message handlers to match the new sender/dest message structure

Location:
branches/proxy/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/spawning_point.cc

    r9508 r9521  
    216216}
    217217
    218 bool SpawningPoint::respawnMessageHandler( MessageType messageType, byte * data, int dataLength, void * someData, int userId )
     218/**
     219 * message handler for respawn message
     220 */
     221bool SpawningPoint::respawnMessageHandler( MessageType messageType, byte * data, int dataLength, void * someData, int senderId, int destinationId  )
    219222{
    220223  if ( SharedNetworkData::getInstance()->isMasterServer() /*|| SharedNetworkData::getInstance()->isProxyServerActive()*/)
  • branches/proxy/src/world_entities/spawning_point.h

    r9508 r9521  
    7070
    7171    void sendRespawnMessage( int uniqueId );
    72     static bool respawnMessageHandler( MessageType messageType, byte * data, int dataLength, void * someData, int userId );
     72    static bool respawnMessageHandler( MessageType messageType, byte * data, int dataLength, void * someData, int senderId, int destinationId );
    7373
    7474
Note: See TracChangeset for help on using the changeset viewer.