question

Jose Fernandez avatar image
Jose Fernandez asked

[UE4] How to listen for event as the client?

Hello,

I need a way to listen for events inside the game. For example, to refresh values like currency for a client, receive notifications when certain events happen, when a new user joins a group, etc. I remember reading about PubSub but it seems that feature isn't being developed anymore so I'm wondering what other ways I can approach this.

game manager
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

Currently we don’t have any information about PubSub updates, while since it is a feature based on SignalR, you may try to implement it on your own. PlayFab also provides an official sample, please refer to PlayFab-Samples/Samples/CSharp/MessagingClient at master PlayFab/PlayFab-Samples (github.com)

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.