Skip to main content
Participant
September 22, 2016
Solved

Question about Entitlement check

  • September 22, 2016
  • 2 replies
  • 1154 views
Hello 

I don't know how to use entitlement check function in the 4.13 unreal engine.

This is the first time to use entitlement check function. 

I added to the DefaultEngine.ini

[OnlineSubsystem]
DefaultPlatformService=Oculus

[OnlineSubsystemOculus]
bEnabled=true
OculusAppId="1111111111111111"

and then I edited projectName.build.cs

public class RunningJoe : ModuleRules
{
public RunningJoe(TargetInfo Target)
{
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "OnlineSubsystem" });

PrivateDependencyModuleNames.AddRange(new string[] {  });

// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
// Uncomment if you are using online features
PrivateDependencyModuleNames.Add("OnlineSubsystem");

// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
}
}

finally I used verify entitlement function like this. 



Is this alright? 

thank you 
This topic has been closed for replies.
Best answer by brianjew
In your Build.cs, also add:

PrivateDependencyModuleNames.Add("OnlineSubsystemOculus");

You don't need OnlineSubsystem in your Public Dependencies since you already have it in your private dependency

2 replies

brianjewAnswer
Participant
September 22, 2016
In your Build.cs, also add:

PrivateDependencyModuleNames.Add("OnlineSubsystemOculus");

You don't need OnlineSubsystem in your Public Dependencies since you already have it in your private dependency
artberryAuthor
Participant
September 24, 2016
Thank you Brian