return cNetwork::instance()->getuoSocketsIndex( pc->socket() );
return cNetwork::instance()->getuoSocketsIndex( dynamic_cast<P_PLAYER>(pc)->socket() );
UOXSOCKET calcSocketFromChar(P_CHAR pc){	if ( !pc || !pc->socket() || pc->npc() )	{		return -1;	}	return cNetwork::instance()->getuoSocketsIndex( pc->socket() );}