void UserLeaveCallBackWrapper(NETEMU_WORD id, char *user, char *exit_message, void *user_data) { ServerDialog *dialog = (ServerDialog*)user_data; dialog->OnUserListChanged(); }
void UserJoinCallBackWrapper(struct netemu_kaillera *info, char *user, NETEMU_DWORD ping, char connection, void *user_data) { ServerDialog *dialog = (ServerDialog*)user_data; dialog->OnUserListChanged(); }