shaiya library is a foundational library that contains common types and packet definitions used throughout the Shaiya Episode 6 project. This library serves as a dependency for other projects in the codebase.
Environment Requirements
- OS: Windows 10
- IDE: Visual Studio 2019
- Language: C++ 20
Prerequisites
Overview
The
shaiya library is a dependency for all other projects in the Episode 6 codebase. It provides shared data structures and packet definitions that ensure consistency across client and server implementations.DateTime Encoding
The library implements Shaiya’s custom date/time encoding system.Data Type
The encoded date/time value is stored as an unsigned 32-bit integer.Valid Range
Usage Example
Packet Definitions
The library contains definitions for all network packets used in Shaiya Episode 6 communication between client and server.Common Packet Types
Common Packet Types
- Character data packets
- Inventory packets
- Chat packets
- Movement packets
- Combat packets
- Trade packets
- Guild packets
Type Definitions
The library provides common type definitions used throughout the Episode 6 codebase, ensuring type safety and consistency.References
The DateTime encoding implementation references Eden’s ShaiyaTime implementation.
Dependencies
Other Episode 6 projects that depend on this library:sdev- Server development librarysdev-client- Client modification librarysdev-db- Database librarysdev-map- Map server library
Integration
When building projects that depend on theshaiya library, ensure that:
- The library is built first in your build order
- Include paths are properly configured
- The appropriate library file is linked