mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-22 13:11:28 +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;
|
private int roomId;
|
||||||
|
|
||||||
|
[Indexed]
|
||||||
public int RoomId {
|
public int RoomId {
|
||||||
get => this.roomId;
|
get => this.roomId;
|
||||||
set {
|
set {
|
||||||
|
|
|
@ -9,6 +9,8 @@ namespace LBPUnion.ProjectLighthouse.PlayerData.Profiles;
|
||||||
public class UserFriendData
|
public class UserFriendData
|
||||||
{
|
{
|
||||||
private int userId;
|
private int userId;
|
||||||
|
|
||||||
|
[Indexed]
|
||||||
public int UserId {
|
public int UserId {
|
||||||
get => this.userId;
|
get => this.userId;
|
||||||
set {
|
set {
|
||||||
|
|
|
@ -1,14 +1,12 @@
|
||||||
#nullable enable
|
#nullable enable
|
||||||
using System;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Linq;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using LBPUnion.ProjectLighthouse.Configuration;
|
using LBPUnion.ProjectLighthouse.Configuration;
|
||||||
using LBPUnion.ProjectLighthouse.Extensions;
|
using LBPUnion.ProjectLighthouse.Extensions;
|
||||||
using LBPUnion.ProjectLighthouse.Logging;
|
using LBPUnion.ProjectLighthouse.Logging;
|
||||||
using LBPUnion.ProjectLighthouse.Match.Rooms;
|
using LBPUnion.ProjectLighthouse.Match.Rooms;
|
||||||
using LBPUnion.ProjectLighthouse.PlayerData.Profiles;
|
using LBPUnion.ProjectLighthouse.PlayerData.Profiles;
|
||||||
using LBPUnion.ProjectLighthouse.Types;
|
|
||||||
using Redis.OM;
|
using Redis.OM;
|
||||||
using Redis.OM.Contracts;
|
using Redis.OM.Contracts;
|
||||||
using Redis.OM.Searching;
|
using Redis.OM.Searching;
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using LBPUnion.ProjectLighthouse.PlayerData.Profiles;
|
using LBPUnion.ProjectLighthouse.PlayerData.Profiles;
|
||||||
using LBPUnion.ProjectLighthouse.Types;
|
|
||||||
|
|
||||||
namespace LBPUnion.ProjectLighthouse.StorableLists.Stores;
|
namespace LBPUnion.ProjectLighthouse.StorableLists.Stores;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue