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);
|
||||
}
|
||||
}
|
11
Src/World/IWorldSeatService.cs.meta
Normal file
11
Src/World/IWorldSeatService.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a065418343fa7b44e99d811a2004ac06
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -4,7 +4,8 @@
|
||||
"references": [
|
||||
"GUID:14fe60d984bf9f84eac55c6ea033a8f4",
|
||||
"GUID:d8b63aba1907145bea998dd612889d6b",
|
||||
"GUID:f51ebe6a0ceec4240a699833d6309b23"
|
||||
"GUID:f51ebe6a0ceec4240a699833d6309b23",
|
||||
"GUID:aab9e82873ffb00498c7fcaca7aee8ca"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
|
Reference in New Issue
Block a user