mta-mono/mono-test/CMonoObject.h

23 lines
391 B
C
Raw Normal View History

2014-10-07 17:49:48 +00:00
class CMonoObject;
#ifndef _CMONOOBJECT
#define _CMONOOBJECT
#include "CMonoAssembly.h"
#include "CMonoClass.h"
class CMonoObject
{
private:
MonoObject* m_pMonoObect;
CMonoClass* m_pClass;
public:
CMonoObject( CMonoClass* pClass, MonoObject* pMonoObect );
~CMonoObject();
CMonoClass* GetClass();
MonoObject* CallMethod( const char* methodName );
};
#endif