static bool fh_inherit(dbref target, dbref player, FLAG flag, int fflags, bool reset) { if (!Inherits(player)) { return false; } return (fh_any(target, player, flag, fflags, reset)); }
int ph_inherit(dbref target, dbref player, POWER power, int fpowers, int reset) { if (!Inherits(player)) { return 0; } return (ph_any(target, player, power, fpowers, reset)); }
char *pc1_SDB_Resource :: GetContextType ( ) { char *base_context = NULL; BEGINSEQ if ( !Exist() ) ERROR if ( Inherits("SDB_Type") ) base_context = "CTX_Structure"; else if ( Inherits("SDB_Member") ) base_context = "CTX_Property"; else if ( Inherits("ADK_Project") ) base_context = "CTX_Project"; else if ( Inherits("ADK_Application") ) base_context = "CTX_Application"; else if ( Inherits("ADK_StyleElement") ) base_context = "CTX_Control"; RECOVER ENDSEQ return(base_context); }
int fh_inherit( dbref target, dbref player, FLAG flag, int fflags, int reset ) { if( !Inherits( player ) ) { return 0; } return ( fh_any( target, player, flag, fflags, reset ) ); }