Exemplo n.º 1
0
void WSL::Framework::Standard::Base::Entity::RunDestroy__( std::string script )
{
	SendSelf();
	refrence[0]->lua->SetObjID( objID );
	refrence[0]->lua->SetID( iD );
	luaL_dofile( refrence[0]->luaContainer->State, script.c_str() );
}
Exemplo n.º 2
0
void WSL::Framework::Standard::Positional::RunPhysScript( std::string script )
{
	SendToLua();
	SendSelf();
	refrence->lua->SetObjID( objID );
	refrence->lua->SetID( iD );
	SetScanAreaProperties();
	luaL_dofile( refrence->luaContainer->State, script.c_str() );
}
Exemplo n.º 3
0
void WSL::Framework::Standard::Base::Entity::RunScript( std::string script )
{
	RunSubClassMethodBegin();
	SendToLua();
	SendSelf();
	refrence[0]->lua->SetObjID( objID );
	refrence[0]->lua->SetID( iD );
	luaL_dofile( refrence[0]->luaContainer->State, script.c_str() );
	RunSubClassMethodEnd();
}