All-in-One Solution for Indie Game Development · Empowering Indie Developers' Dreams
📖 Documentation • 🚀 Quick Start • 💬 QQ Group: 870596322
🌐 Language: English | 简体中文 | 繁體中文 | 日本語 | 한국어
Install the packages you need:
dotnet add package GameFrameX.Foundation.Extensions
dotnet add package GameFrameX.Foundation.Encryption
dotnet add package GameFrameX.Foundation.Loggerusing GameFrameX.Foundation.Extensions;
using GameFrameX.Foundation.Encryption;
using GameFrameX.Foundation.Hash;
// Extension methods
var bytes = "Hello World".ToBytes();
var hex = bytes.ToHexString();
// Encryption
var encrypted = AesHelper.Encrypt(Encoding.UTF8.GetBytes("secret"), key, iv);
var decrypted = AesHelper.Decrypt(encrypted, key, iv);
// Hash
var md5 = Md5Helper.ComputeHash("Hello World");
var sha256 = ShaHelper.ComputeSha256("Hello World");| Module | Package | Description | Dependencies | Docs |
|---|---|---|---|---|
| Localization | GameFrameX.Foundation.Localization |
Lightweight localization with lazy-loading mechanism | Zero dependencies | Docs |
| JSON | GameFrameX.Foundation.Json |
Unified JSON serialization/deserialization interfaces | Zero dependencies | Docs |
| Options | GameFrameX.Foundation.Options |
Command-line option/configuration builder | Zero dependencies | Docs |
| ORM Attribute | GameFrameX.Foundation.Orm.Attribute |
ORM attribute definitions for audit, cache, soft-delete | Zero dependencies | Docs |
| Extensions | GameFrameX.Foundation.Extensions |
Core extension methods and collection helpers | → Localization | Docs |
| Encryption | GameFrameX.Foundation.Encryption |
AES, RSA, DSA, SM2/SM4, XOR encryption | → Localization | Docs |
| Hash | GameFrameX.Foundation.Hash |
CRC32/64, MD5, SHA, HMAC, MurmurHash3, xxHash | → Localization | Docs |
| Utility | GameFrameX.Foundation.Utility |
Console, environment, time, Snowflake ID utilities | → Localization | Docs |
| Logger | GameFrameX.Foundation.Logger |
Unified logging with Serilog, Loki, MongoDB sinks | → Extensions + JSON | Docs |
| HTTP Extension | GameFrameX.Foundation.Http.Extension |
HTTP client extension methods | → JSON | Docs |
| HTTP Normalization | GameFrameX.Foundation.Http.Normalization |
Standardized HTTP JSON response structures | → Logger | Docs |
| ORM Entity | GameFrameX.Foundation.Orm.Entity |
ORM entity base classes with enterprise features | → Utility | Docs |
See the full architecture documentation for design principles and dependency graph.
- .NET 8.0 / 9.0 / 10.0
- Supported OS: Windows, macOS, Linux
This project is licensed under MIT License + Apache 2.0.
