Sign In Register

How can we help you today?

Start a new topic

UE4 c++ sessionlistener

hello 


i have problem with your game mode code ,, i get error here 

 

gameSession = TSharedPtr<GameSparks::RT::IRTSession>(GameSparks::RT::GameSparksRT::SessionBuilder()
                .SetConnectToken(message.GetAccessToken().GetValue())
                .SetHost(message.GetHost().GetValue())
                .SetPort(message.GetPort().GetValue())
                .SetListener(this)
                .Build());

 exactly in setListener (this) , 


so i was replace it with sessionlistener , and it is fine , the session was started ,,, but i do not know how can i retrieve data from this functions


OnReady , OnPlayerConnect  ,,,,,,,,,,  how can i forward packets from IRTSessionListener to my gamemode class ?


cpp
(6.54 KB)
Login to post a comment