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.
This is a sample program introducing the basic usage of the DM module.
This sample program demonstrates how to use the Group module.
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 join the same Room as the matched user for communication. It represents a common flow implemented with Diarkis in games, for example.
This is a sample program demonstrating how to use the ticket function of the MatchMaker.
This sample program demonstrates how to use the RUDP function of the P2P module.
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.
A sample introducing the basic usage of the Session module.
C++ Unreal Engine Plugin Samples
This is a sample that incorporates the C++ version Client SDK as a plugin for Unreal Engine. In this sample, it offers an integrated example using multiple modules of Diarkis for position synchronization, message sending and receiving, matchmaking, etc.
C# Unity Plugin Samples
This is a sample that incorporates the C# version Client SDK as a plugin for Unity. This sample provides an integrated example using multiple modules of Diarkis for position synchronization, message sending and receiving, matchmaking, etc.
Last updated