1
This commit is contained in:
20
Src/World/IWorldSeatService.cs
Normal file
20
Src/World/IWorldSeatService.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using BITKit.Entities;
|
||||
using Net.Project.B.WorldNode;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Net.Project.B.World
|
||||
{
|
||||
public interface IWorldSeatService
|
||||
{
|
||||
IReadOnlyDictionary<int, UnitySeatNode> SeatNodes { get; }
|
||||
IReadOnlyDictionary<int,IEntity> SeatEntities { get; }
|
||||
public bool TryGetOccupyingEntity(int id,out UnitySeatNode seatNode, out IEntity entity);
|
||||
public event Action<UnitySeatNode,IEntity,IEntity> OnSeatOccupied;
|
||||
|
||||
public bool OccupySeat(int seatId, IEntity entity);
|
||||
public bool UnOccupySeat(int seatId,out IEntity entity);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user