This commit is contained in:
CortexCore
2024-11-23 17:20:13 +08:00
commit bb257507bc
133 changed files with 2574 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using BITKit;
using Cysharp.Threading.Tasks;
using Unity.Mathematics;
namespace Net.Project.B.Item
{
public interface IManagedItemService
{
public IReadOnlyDictionary<int,IRuntimeItem> Items { get; }
public void AddOrUpdateItem(IRuntimeItem item);
public void InstanceItem(float3 position, quaternion rotation, IRuntimeItem item);
public void DisposeItem(IRuntimeItem item);
public void DisposeWorldObject(IRuntimeItem item);
public UniTask ReloadAsync();
public event Action<IRuntimeItem> OnItemAddedOrUpdated;
public event Action<IRuntimeItem> OnItemDisposed;
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f492654306a018c429fdc97ef6abef58
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,19 @@
{
"name": "Net.Project.B.Item",
"rootNamespace": "",
"references": [
"GUID:14fe60d984bf9f84eac55c6ea033a8f4",
"GUID:677cd05ca06c46b4395470200b1acdad",
"GUID:f51ebe6a0ceec4240a699833d6309b23",
"GUID:d8b63aba1907145bea998dd612889d6b"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f3613c0168f084d4e85ef0501bfa7392
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: