# On Event Called

{% hint style="info" %}
Make sure you have read the [Getting Started](https://easy-event-manager.gitbook.io/documentation/implementation/getting-started) Guide!
{% endhint %}

These are the events that get executed if an event gets called which the object is bound to&#x20;

<figure><img src="https://3743917652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F461QZtnJljYazCvCp6z0%2Fuploads%2FJxghoCndNBRwgDP3cnC8%2Fimage.png?alt=media&#x26;token=14a68fba-7ac7-4046-ac3a-d270203075ce" alt=""><figcaption></figcaption></figure>

## C++ Usage

**Header file:**

```cpp
virtual void OnEventCalled_Implementation(FName Event, const FString& Message, UObject* Payload);
virtual void OnEventTagCalled_Implementation(FGameplayTag EventTag, const FString& Message, UObject* Payload);
```

**Cpp file:**

```cpp
void AMyActor::OnEventCalled_Implementation(FName Event, const FString& Message, UObject* Payload)
{
   //some code
}

void AMyActor::OnEventTagCalled_Implementation(FGameplayTag EventTag, const FString& Message, UObject* Payload)
{
   //some code
}
```
