Implements float Effect Parameter.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
d12267c695
commit
10f7f38c2d
|
@ -31,6 +31,9 @@ void RegisterEffectParameter::Register(asIScriptEngine* engine) {
|
|||
r = engine->RegisterObjectMethod("EffectParameter", "int64 AsInt() const",
|
||||
asMETHOD(CreatureLib::Library::EffectParameter, AsInt), asCALL_THISCALL);
|
||||
Assert(r >= 0);
|
||||
r = engine->RegisterObjectMethod("EffectParameter", "float AsFloat() const",
|
||||
asMETHOD(CreatureLib::Library::EffectParameter, AsFloat), asCALL_THISCALL);
|
||||
Assert(r >= 0);
|
||||
r = engine->RegisterObjectMethod(
|
||||
"EffectParameter", "string AsString() const",
|
||||
asFUNCTIONPR(AsString, (const CreatureLib::Library::EffectParameter*), std::string), asCALL_CDECL_OBJFIRST);
|
||||
|
|
Loading…
Reference in New Issue