Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.66 KB | None | 0 0
  1. // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
  2.  
  3. using UnrealBuildTool;
  4. using System.Collections.Generic;
  5.  
  6. [SupportedPlatforms(UnrealPlatformClass.Server)]
  7. public class MyGameSteamServerTarget : TargetRules
  8. {
  9.     public MyGameSteamServerTarget(TargetInfo Target)
  10.     {
  11.         Type = TargetType.Server;
  12.         bUsesSteam = true;
  13.     }
  14.  
  15.     //
  16.     // TargetRules interface.
  17.     //
  18.     public override void SetupBinaries(
  19.         TargetInfo Target,
  20.         ref List<UEBuildBinaryConfiguration> OutBuildBinaryConfigurations,
  21.         ref List<string> OutExtraModuleNames
  22.         )
  23.     {
  24.         OutExtraModuleNames.Add("MyGameSteam");
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement