IamKingWaiMark / FBP

Firebase Plugin for Unreal Engine
2 stars 0 forks source link

Associate data with a user #2

Closed WeeTomatoBall closed 1 year ago

WeeTomatoBall commented 1 year ago

Not an issue, just a question.

So ive used the Plugin to sign in or sign up, and when you sign up, you create a username, which is stored on the firebase realtime database. Only issue is, I have no clue how to access this. The idea is that when you sign in your username would appear, but I don't know how to pull the username from the database associated with the user. How would you recommend I handle this?

IamKingWaiMark commented 1 year ago

You can see any of these nodes from the plugin:

image

The Get Data node retrieves the data every time it is called

Listen to Value retrieves the data at the time it is called and it will be called again when there is a change to the value

Listen to Child does the same as Listen to Value but it listens for changes to everything.

The Data Path parameter represents the path to the data.

For example, if my data look like this:

image

This is how I would get the value of name from the data Bob:

image