Start repo, claude & kimi still vibing tho

This commit is contained in:
ra
2026-02-14 17:04:21 -07:00
commit f5b8aeb39d
54 changed files with 9466 additions and 0 deletions

34
lib/odinsea/world.ex Normal file
View File

@@ -0,0 +1,34 @@
defmodule Odinsea.World do
@moduledoc """
World state manager.
Coordinates cross-server state like parties, guilds, and families.
Ported from Java World.java.
"""
use GenServer
require Logger
# Client API
def start_link(_) do
GenServer.start_link(__MODULE__, [], name: __MODULE__)
end
# Server Callbacks
@impl true
def init(_) do
Logger.info("World state initialized")
state = %{
online_count: 0,
channels: %{},
parties: %{},
guilds: %{},
families: %{}
}
{:ok, state}
end
end