Skip to content

Latest commit

 

History

History

CSharp

Epic Online Services - Getting Started C# content

License

This repository contains the source code that accompanies the Epic Online Services C# tutorials, found on the Epic Online Services blog.

C# code

Refer to the table below to get to the code that accompanies each C#-focused blog post found on the Epic Online Services blog. The full list of blog posts in the series can be found in the series reference of the Introduction to Epic Online Services (EOS) post.

Blog post Folder Min. SDK version
3. Setting up a C# solution for EOS in Visual Studio 2019 EOSCSharpSample_3 1.15.2
4. Authenticating with Epic Account Services (EAS) EOSCSharpSample_4 1.15.2
5. Getting and setting user presence EOSCSharpSample_5 1.15.2
6. Querying for Epic Friends and their status EOSCSharpSample_6 1.15.2
7. Accessing EOS Game Services with the Connect Interface EOSCSharpSample_7 1.15.2
8. Retrieve game-specific data from the cloud EOSCSharpSample_8 1.15.2
9. Storing and retrieving player-specific data EOSCSharpSample_9 1.15.2
10. Manage player statistics with Epic Online Services EOSCSharpSample_10 1.15.2
11. Rank player scores using leaderboards EOSCSharpSample_11 1.15.2
12. Adding achievements to your game EOSCSharpSample_12 1.15.2

Requirements

The solutions in this repository require Visual Studio 2019 or Visual Studio 2022 with the following workloads & features:

  • C#
    • Desktop & Mobile > .NET desktop development

Usage

To compile and run each solution, follow these steps:

  1. Download the latest C# Epic Online Services SDK on the Epic Online Services website.
  2. Copy the SDK\Source directory from the downloaded SDK ZIP to the EOSCSharpSample\SDK folder.
  3. Copy the EOSSDK-Win32-Shipping.dll file from the SDK\Bin directory of the downloaded SDK ZIP to the EOSCSharpSample\EOSCSharpSample folder.
  4. Set up a product in the Epic Games Developer Portal (sign-up required) and add your product's SDK credentials to the EOSCSharpSample\EOSCSharpSample\ApplicationSettings.cs file.