AboutClass
Folder Structure
1. About DiarkisNetworkManager
DiarkisNetworkManager
represents the core library.
Internally, it contains the following components.
Name | Role |
---|---|
| Event system responsible for inter-module communication |
| Transport layer (UDP & TCP) |
| Various modules |
2. About DiarkisUID
Represents a unique ID for identifying the client.
3. About Character Position Synchronization
Contains classes related to character position synchronization.
4. About Message Type for Sending and Receiving Messages
Contains classes specifying message types during send/receive operations.
5. About Event System
Represents the event system responsible for inter-module communication, with DiarkisEventHandler
as the core component.
Internally, a Queue
exists to accumulate event information, allowing the registration of instances to receive it.
6. About Transport Layer
Represents connections via UDP or TCP.
7. About Various Modules
DiarkisModuleHandler
is the core and represents various modules.
Class Name | Internal Client Library Class Name |
---|---|
|
|
|
|
|
|
|
|
|
|
Primarily responsible for firing events in the above event system (5.) to match the behavior of the internal client library.
Additionally, it also plays roles such as caching some data and assisting the client library's functions.
8. About Additional Libraries
Contains libraries for data serialization (and deserialization).
9. Unity-specific Implementation
Contains Unity-specific implementations within the folder (Runtime/Extension/MonoBehaviour
).
9-1. Unity Event System
Implemented as a component within Unity's event system.
9-2. Unity Replication System
An example implementation of character position synchronization using Unity.
Corresponds with the functionalities of Room
and Field
.
Last updated