Interface IGridBuildingSession
- Namespace
- MoonBark.GridPlacement.Core.Interfaces
- Assembly
- MoonBark.GridPlacement.Core.dll
Represents a GridBuilding session (match/world) in Core. Provides access to shared services and user scopes. This is intentionally minimal and engine-agnostic; Godot roots or other hosts can adapt it to their own lifetime model.
public interface IGridBuildingSession
Properties
Name
string Name { get; }
Property Value
Parent
IGridBuildingSession? Parent { get; }
Property Value
Methods
GetUserScope(GPUserId)
Resolves or creates a user scope for the given user identifier.
UserScopeData GetUserScope(GPUserId userId)
Parameters
userIdGPUserIdUser identifier
Returns
- UserScopeData
User scope for this session/user pair