1
This commit is contained in:
12
Src/BuyStation/BuyStationComponent.cs
Normal file
12
Src/BuyStation/BuyStationComponent.cs
Normal 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; }
|
||||
}
|
||||
}
|
11
Src/BuyStation/BuyStationComponent.cs.meta
Normal file
11
Src/BuyStation/BuyStationComponent.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 98d972e984085ce4a8562e2d7b78eb0b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
12
Src/BuyStation/IBuyStationService.cs
Normal file
12
Src/BuyStation/IBuyStationService.cs
Normal 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);
|
||||
}
|
||||
}
|
11
Src/BuyStation/IBuyStationService.cs.meta
Normal file
11
Src/BuyStation/IBuyStationService.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a171a0081a5f6e14f89f194acf350a80
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
19
Src/BuyStation/Net.Project.B.BuyStation.asmdef
Normal file
19
Src/BuyStation/Net.Project.B.BuyStation.asmdef
Normal 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
|
||||
}
|
7
Src/BuyStation/Net.Project.B.BuyStation.asmdef.meta
Normal file
7
Src/BuyStation/Net.Project.B.BuyStation.asmdef.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b4a9c9d7a5a5a7140b5b656e4f049be5
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user