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() ); }
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() ); }
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(); }