mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-12 07:47:12 +01:00
25 lines
824 B
C++
25 lines
824 B
C++
// ------------------------------------------------------------------------------------------------
|
|
#include "Common.hpp"
|
|
#include "Module.hpp"
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
#include <stdlib.h>
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
namespace SqMod {
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
int SampleFunction()
|
|
{
|
|
OutputMessage("Hello from the sample plugin function!");
|
|
return rand();
|
|
}
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
void SampleType::SampleMethod() const
|
|
{
|
|
OutputMessage("I have the values %d and %d", m_MyVal, mMyNum);
|
|
}
|
|
|
|
} // Namespace:: SqMod
|