When I attempt to use types such as CSteamID I get the following error
error : Unable to find ‘class’, ‘delegate’, ‘enum’, or ‘struct’ with name ‘CSteamID’
I believe I’ve got the defaultengine.ini and build.cs files configured correctly but I’ve pasted them below. Does anyone know wat might be causing this?
using System.IO;
using UnrealBuildTool;
public class GameName : ModuleRules
{
public GameName(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "Foliage", "PhysicsCore", "EasyMultiSave","UMG","Sockets","Networking","OnlineSubsystem","OnlineSubsystemUtils","OnlineSubsystemSteam","Steamworks"});
//PrivateDependencyModuleNames.AddRange(new string[] {});
PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "Steam", "lib","steam_api64.lib"));
// 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
}
}
type or paste code here
[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“OnlineSubsystemSteam.SteamNetDriver”,DriverClassNameFallback=“OnlineSubsystemUtils.IpNetDriver”)
[OnlineSubsystem]
DefaultPlatformService=Steam
[OnlineSubsystemSteam]
bEnabled=true
bInitServerOnClient=true
SteamDevAppId=
[OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=“OnlineSubsystemSteam.SteamNetConnection”