LogoLogo
English
English
  • Diarkis Help Center
  • Overview of Diarkis
  • Getting Started
    • Diarkis Server Template
    • Diarkis Client SDK
    • Tutorials
      • 1. Launch Diarkis Server in Local Environment
      • 2. Perform Connectivity Check with Test Client
      • 3. Implement Custom Command
      • Connect to Server from Diarkis Client
    • Samples
  • Diarkis Modules
    • Room Module
      • Set Up Room Module on Server
      • Room Sample
        • room_broadcast
      • Utilizing Room Module from Client
      • Additional Features of Room
    • MatchMaker Module
      • Set Up MatchMaker Module on Server
    • Field Module
      • Set Up Field Module on Server
    • P2P Module
      • Set Up P2P Module on Server
      • P2P Sample
    • DM (Direct Message) Module
      • Set Up DM Module on Server
    • Notifier Module
      • Set Up Notifier Module on Server
    • Session Module
      • Set Up Session Module on Server
    • Group Module
      • Set Up Group Module on Server
  • Diarkis Server
    • Launch Diarkis Server in Cloud Environment
      • AWS
    • Launch Diarkis Server on Windows Environment
    • MARS Server
    • UDP Server
    • TCP Server
    • HTTP Server
    • Metrics API
    • Inter-server Communication - Mesh
  • Diarkis Client
    • Runtime Library
      • Diarkis RUDP
    • Diarkis Module
      • Initialization and Termination of Diarkis Module
      • Customization of Diarkis Module
      • Logging System of Diarkis Module
      • Migration
      • Threads of Diarkis
    • Samples
      • C++
        • room_broadcast
        • directmessage_simple
        • group_sample
        • matching_and_turn
        • matchmaker_ticket
        • p2p_rudp_sample
        • session_simple
      • Unreal Engine Plugin
        • FieldWalker
      • Unity Plugin
        • FieldWalker
          • HowToReplicatePosition.md
  • Diarkis Tools
    • Diarkis CLI
      • Procedures to Switch to Diarkis CLI v3
  • References
    • API Reference
    • Release Notes
      • v1.0
      • v1.0.1
      • v1.0.2
      • v1.0.3
      • v1.0.4
      • v1.0.5
      • v1.0.6
  • Support
    • License and Billing
Powered by GitBook
On this page
  • C++ Samples
  • C++ Unreal Engine Plugin Samples
  • C# Unity Plugin Samples

Was this helpful?

  1. Getting Started

Samples

We introduce modules and use-case specific samples using Diarkis.

The Diarkis Client SDK offers various examples.

C++ Samples

These are sample programs demonstrating how to use the C++ version of the client runtime. They are located under samples in the C++ version of the Diarkis Client SDK package. For more details, refer to SAMPLE_README.md included in the C++ version of the Diarkis Client SDK package.

  • directmessage_simple

    • This is a sample program introducing the basic usage of the DM module.

  • group_sample

    • This sample program demonstrates how to use the Group module.

  • matching_and_turn

    • This is a sample where, after connecting to a Diarkis server and using the MatchMaker module for matchmaking, you reconnect to another Diarkis server and enter the same Room as the matched user for communication. It represents a common flow implemented with Diarkis in games, for example.

  • matchmaker_ticket

    • This is a sample program demonstrating how to use the ticket function of the MatchMaker.

  • p2p_rudp_sample

    • This sample program demonstrates how to use the RUDP feature of the P2P module.

  • room_broadcast

    • This is a sample program using both the Room module and the P2P module. It introduces the usage of relay communication via Room and P2P communication.

  • session_simple

    • This is a sample introducing the basic usage of the Session module.

C++ Unreal Engine Plugin Samples

  • FieldWalker

    • This is a sample incorporating the C++ version of the client SDK as a plugin in Unreal Engine. This sample offers an integrated example using multiple modules of Diarkis for position synchronization, message sending and receiving, matchmaking, etc.

C# Unity Plugin Samples

  • FieldWalker

    • This is a sample incorporating the C# version of the client SDK as a plugin in Unity. This sample provides an integrated example using multiple modules of Diarkis for position synchronization, message sending and receiving, matchmaking, etc.

PreviousConnect to Server from Diarkis ClientNextDiarkis Modules

Last updated 2 months ago

Was this helpful?