x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

how to retrieve a session to get session properties?

How do i get current session information?

i know as a client i can search for session with find session node that ouput a session object so i can get information with it

but if i am already the host of the session, how i would retrieve session information? i dont see any blueprint node "get session" or something like this

if i need c++ to do it, how would i get it from a blueprint function library? :)

Thanks

Product Version: UE 4.10
Tags:
more ▼

asked Nov 24 '15 at 02:03 PM in Blueprint Scripting

avatar image

skeleton60
620 42 59 88

avatar image Davixe Feb 12 '16 at 01:13 PM

I got the same question, did you find the solution?

avatar image skeleton60 Feb 12 '16 at 01:50 PM

no solution yet

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

In your GameInstance class, you can create a function blueprintcallable (if you need for your blueprints) and inside call:

 IOnlineSessionPtr Sessions = IOnlineSubsystem::Get()->GetSessionInterface();
 FOnlineSessionSettings* CurrentSettings = Sessions->GetSessionSettings(GameSessionName);

This way you can acces to your settings.

Hope it helps :)

more ▼

answered Feb 12 '16 at 06:41 PM

avatar image

Davixe
184 18 20 34

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

thanks for your answer

more ▼

answered Feb 12 '16 at 10:16 PM

avatar image

skeleton60
620 42 59 88

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question