mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-19 11:41:30 +00:00
Fix Redis Support
I'm too happy about this. https://github.com/redis/redis-om-dotnet/issues/105
This commit is contained in:
parent
6fb48234e5
commit
b87d9540d0
4 changed files with 3 additions and 3 deletions
|
@ -11,6 +11,7 @@ public class Room
|
|||
{
|
||||
private int roomId;
|
||||
|
||||
[Indexed]
|
||||
public int RoomId {
|
||||
get => this.roomId;
|
||||
set {
|
||||
|
|
|
@ -9,6 +9,8 @@ namespace LBPUnion.ProjectLighthouse.PlayerData.Profiles;
|
|||
public class UserFriendData
|
||||
{
|
||||
private int userId;
|
||||
|
||||
[Indexed]
|
||||
public int UserId {
|
||||
get => this.userId;
|
||||
set {
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
#nullable enable
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using LBPUnion.ProjectLighthouse.Configuration;
|
||||
using LBPUnion.ProjectLighthouse.Extensions;
|
||||
using LBPUnion.ProjectLighthouse.Logging;
|
||||
using LBPUnion.ProjectLighthouse.Match.Rooms;
|
||||
using LBPUnion.ProjectLighthouse.PlayerData.Profiles;
|
||||
using LBPUnion.ProjectLighthouse.Types;
|
||||
using Redis.OM;
|
||||
using Redis.OM.Contracts;
|
||||
using Redis.OM.Searching;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using LBPUnion.ProjectLighthouse.PlayerData.Profiles;
|
||||
using LBPUnion.ProjectLighthouse.Types;
|
||||
|
||||
namespace LBPUnion.ProjectLighthouse.StorableLists.Stores;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue