Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.3 update, fixed timestamps #24

Open
wants to merge 15 commits into
base: Unreal-Engine-5.1
Choose a base branch
from

Conversation

CusYaBasic
Copy link

  • 5.3 update
  • Fixed timestamps, wrong type was used
  • Added GetStartTimestamp function; this just turns 'FDataTime::UTCNow' into a int64 which now correctly works with the timestamp features.

* 5.3 update
* Fixed timestamps, wrong type was used
* Added GetStartTimestamp function; this just turns 'FDataTime::UTCNow' into a int64 which now correctly works with the timestamp features.
Setup for game instance
Updated read me and docs
format errors
final typo errors
more typos
updates in readme
update docs/readme
Added more info in README
Last update for README
Nadwey added a commit to Nadwey/DiscordRPC-linux that referenced this pull request Dec 7, 2023
@@ -94,6 +99,10 @@ class DISCORDRPC_API UDiscordRpc : public UObject {
GENERATED_BODY()

public:

UFUNCTION(BlueprintPure)
int64 GetStartTimeStamp() const {return FDateTime::Now().ToUnixTimestamp();}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't UtcNow() instead of Now() be here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct, this has been fixed in the most recent version in my repos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants