This commit is contained in:
CortexCore
2025-02-24 23:02:49 +08:00
parent 9775bdd099
commit b07ae4fea7
82 changed files with 1021 additions and 386 deletions

View File

@@ -0,0 +1,12 @@
using System.Collections;
using System.Collections.Generic;
namespace Net.Project.B.Inventory
{
public class BuyStationComponent
{
public virtual int GroupId { get; set; }
public virtual int ScriptableId { get; set; }
public virtual int Price { get; set; }
}
}

View File

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

View File

@@ -0,0 +1,12 @@
using System.Collections;
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
namespace Net.Project.B.Inventory
{
public interface IBuyStationService
{
public UniTask<IReadOnlyList<BuyStationComponent>> GetAllItemList();
public UniTask<bool> BuyItem(int buyer,BuyStationComponent buyStationComponent);
}
}

View File

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

View File

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

View File

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