Go to the source code of this file.
Functions | |
void | se_sendEventNotification (tString title, tString message) |
Definition at line 58 of file eEventNotification.cpp.
References MAXCLIENTS, se_eventNotificationDescriptor, se_eventNotificationFeature, nMessage::Send(), sn_Connections, and nVersionFeature::Supported().
Referenced by gGame::Analysis(), gCycle::KillAt(), own_game(), and gGame::StateUpdate().
00059 { 00060 for ( int user = MAXCLIENTS; user > 0; --user ) 00061 { 00062 if ( sn_Connections[ user ].socket ) 00063 { 00064 if ( se_eventNotificationFeature.Supported( user ) ) 00065 { 00066 nMessage *m = new nMessage( se_eventNotificationDescriptor ); 00067 *m << title; 00068 *m << message; 00069 m->Send( user ); 00070 } 00071 00072 } 00073 } 00074 }