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"

Implementing Browser

I am looking to add some oauth to a game I am working on. I can get the user auth to work in the browser that comes with UE4, however there is not any capability to detect changes to the currently loaded URL so I can grab the token. So I'm trying to create one. I created a new C++ class that extends UWebBrowser, added this line to the Build.css file

 PublicDependencyModuleNames.AddRange(new string[] {"Http", "UMG"});

And I have this in my browser .h file so it will be available to use in blueprints

 virtual const FText GetPaletteCategory() { return FText::FromString("Oauth Browser"); };

Now I just need to be notified of when the URL changes so I can grab to auth token but I can't seem to find a way to implement for that. I have read that it can be done though. Can anyone shed more light on this subject for me? I'd appreciate it. I also see this declared in UWebBrowser but I can't seem to access it in my subclass:

     TSharedPtr<class SWebBrowser> WebBrowserWidget;
Product Version: UE 4.10
more ▼

asked Feb 10 '16 at 03:22 PM in C++ Programming

avatar image

36 9 16 17

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

0 answers: sort voted first
Be the first one to answer this question
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