Wire up real implementations for Tracking & Config controllers
- TrackingController: Added database persistence for analytics events * Created AnalyticsEvent entity with user/session tracking * Store event type, data (JSON), and timestamp * Graceful fallback if DB write fails (game doesn't break) - ConfigController: Added real player counting * Query active sessions from last 15 minutes * Return actual player count instead of hardcoded 0 * Real-time server status with DB metrics - Added AnalyticsEvents table migration * Stores all game telemetry for analytics * Indexed by UserId for performance * JSON event data for flexibility Controllers now fully wired to database: - 11/18 controllers REAL implementation ✅ - 5/18 controllers STUB (config-based) ⚠️ - 2/18 controllers SERVICE (delegated) ⚠️ Total: 95 endpoints, improving from demo to production Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -13,7 +13,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("RR3CommunityServer")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a8d282ab362911eaef6cde7f27d7e899da73fd65")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a934f57b526e5d02406dde801c5f5fed03fbe007")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("RR3CommunityServer")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("RR3CommunityServer")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@@ -1 +1 @@
|
||||
8701d587c5b0d24f6fdd2ad6ddd8ff13b887210bcdd063c3ed2a8ccc825ec261
|
||||
c4964325e65fc026dc0bc49435103a5e9863501414e66df7481cabbd8b5e12a4
|
||||
|
||||
@@ -1 +1 @@
|
||||
6663ff8767ed452ae4cf5412b942e99434f92d354e409c2f91d2b8fc9da80d6c
|
||||
90d9c13e18c95e430aec8c9ee22699157adcf657b41faf79f59b93d4fb1c9903
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
{"documents":{"E:\\rr3\\RR3CommunityServer\\*":"https://raw.githubusercontent.com/ssfdre38/rr3-server/a8d282ab362911eaef6cde7f27d7e899da73fd65/*"}}
|
||||
{"documents":{"E:\\rr3\\RR3CommunityServer\\*":"https://raw.githubusercontent.com/ssfdre38/rr3-server/a934f57b526e5d02406dde801c5f5fed03fbe007/*"}}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user