mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-04 08:26:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			587 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			587 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef GAME_MWWORLD_MANUALREF_H
 | 
						|
#define GAME_MWWORLD_MANUALREF_H
 | 
						|
 | 
						|
#include <boost/any.hpp>
 | 
						|
 | 
						|
#include "ptr.hpp"
 | 
						|
 | 
						|
namespace MWWorld
 | 
						|
{
 | 
						|
    /// \brief Manually constructed live cell ref
 | 
						|
    class ManualRef
 | 
						|
    {
 | 
						|
            boost::any mRef;
 | 
						|
            Ptr mPtr;
 | 
						|
 | 
						|
            ManualRef (const ManualRef&);
 | 
						|
            ManualRef& operator= (const ManualRef&);
 | 
						|
 | 
						|
        public:
 | 
						|
            ManualRef(const MWWorld::ESMStore& store, const std::string& name, const int count = 1);
 | 
						|
 | 
						|
            const Ptr& getPtr() const
 | 
						|
            {
 | 
						|
                return mPtr;
 | 
						|
            }
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |