mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
21 lines
682 B
C++
21 lines
682 B
C++
// ------------------------------------------------------------------------------------------------
|
|
#include "Common.hpp"
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
namespace SqMod {
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
int SampleFunction()
|
|
{
|
|
OutputMessage("Hello from the sample plug-in function!");
|
|
return rand();
|
|
}
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
void SampleType::SampleMethod() const
|
|
{
|
|
OutputMessage("I have the values %d and %d", m_MyVal, mMyNum);
|
|
}
|
|
|
|
} // Namespace:: SqMod
|