Vixen
c7401864
csharp
public sealed class MemorySocialStore

An ISocialStore that keeps it all in memory. For tests and single-process games.

Read the guide page for this →

Fields and properties (1)

  • public int Guilds

    How many guilds it holds.

Methods (5)

  • public Guild? LoadGuild(GuildId id)

    Loads a guild.

  • public void SaveGuild(Guild guild)

    Writes a guild back.

  • public GuildId GuildOf(PlayerId player)

    Which guild somebody is in.

  • public SocialGraph? LoadGraph(PlayerId player)

    Loads somebody's friends and blocks.

  • public void SaveGraph(SocialGraph graph)

    Writes a graph back.

Used by (1)

  • SocialLibraryTestsVixen.Gameplay.Social.Tests