virtual void run(Agent* self) { BEHAVIAC_ASSERT(_param0 != NULL); BEHAVIAC_ASSERT(_param1 != NULL); IList& pValue_param0 = *(IList*)_param0->GetValue(self, behaviac::Meta::IsVector<IList >::Result, behaviac::GetClassTypeNumberId<IList >()); System::Object& pValue_param1 = *(System::Object*)_param1->GetValue(self, behaviac::Meta::IsVector<System::Object >::Result, behaviac::GetClassTypeNumberId<System::Object >()); behaviac::Agent::VectorAdd(pValue_param0, pValue_param1); }
virtual void run(Agent* self) { BEHAVIAC_ASSERT(_param0 != NULL); IList& pValue_param0 = *(IList*)_param0->GetValue(self, behaviac::Meta::IsVector<IList >::Result, behaviac::GetClassTypeNumberId<IList >()); behaviac::Agent::VectorClear(pValue_param0); }
virtual void run(Agent* self) { BEHAVIAC_ASSERT(_value != NULL); behaviac::string& pValue_value = *(behaviac::string*)_value->GetValue(self, behaviac::Meta::IsVector<behaviac::string >::Result, behaviac::GetClassTypeNumberId<behaviac::string >()); self = Agent::GetParentAgent(self, _instance); ((FirstAgent*)self)->_Execute_Method_<METHOD_TYPE_FirstAgent_m1, void, behaviac::string& >(pValue_value); }