Quellcode durchsuchen

readme correction

jstzwj vor 6 Jahren
Ursprung
Commit
30d5e725f2

+ 1 - 1
README-zh.md

@@ -4,7 +4,7 @@ MineCase
 
 
 ![Logo](doc/logo/MineCaseLogo.png)
 ![Logo](doc/logo/MineCaseLogo.png)
 
 
-#### [English](https://github.com/dotnetGame/MineCase/blob/master/README.md) | [中文文档](https://github.com/dotnetGame/MineCase/blob/master/README-zh.md) 
+#### [English](https://github.com/dotnetGame/MineCase/blob/master/README.md) | [中文](https://github.com/dotnetGame/MineCase/blob/master/README-zh.md) 
 
 
 `MineCase` 是一个跨平台、分布式的 `Minecraft` 服务端应用。
 `MineCase` 是一个跨平台、分布式的 `Minecraft` 服务端应用。
 
 

+ 1 - 1
README.md

@@ -4,7 +4,7 @@ MineCase
 
 
 ![Logo](doc/logo/MineCaseLogo.png)
 ![Logo](doc/logo/MineCaseLogo.png)
 
 
-#### [English](https://github.com/dotnetGame/MineCase/blob/master/README.md) | [中文文档](https://github.com/dotnetGame/MineCase/blob/master/README-zh.md) 
+#### [English](https://github.com/dotnetGame/MineCase/blob/master/README.md) | [中文](https://github.com/dotnetGame/MineCase/blob/master/README-zh.md) 
 
 
 `MineCase` is a cross-platform application with distributed server of `Minecraft`. 
 `MineCase` is a cross-platform application with distributed server of `Minecraft`. 
 The project is designed to create a high-performance, distributed system by using isolating different components through actor mode. 
 The project is designed to create a high-performance, distributed system by using isolating different components through actor mode. 

+ 1 - 0
data/brewing.txt

@@ -0,0 +1 @@
+# This is Minecraft Brewing Recipes

+ 2 - 0
src/MineCase.Server.Grains/World/Decoration/Biomes/BiomeDesertDecoratorGrain.cs

@@ -1,9 +1,11 @@
 using System;
 using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Text;
 using System.Text;
+using Orleans.Concurrency;
 
 
 namespace MineCase.Server.World.Decoration.Biomes
 namespace MineCase.Server.World.Decoration.Biomes
 {
 {
+    [StatelessWorker]
     public class BiomeDesertDecoratorGrain : BiomeDecoratorGrain, IBiomeDesertDecorator
     public class BiomeDesertDecoratorGrain : BiomeDecoratorGrain, IBiomeDesertDecorator
     {
     {
     }
     }

+ 2 - 0
src/MineCase.Server.Grains/World/Decoration/Biomes/BiomeHillDecoratorGrain.cs

@@ -11,9 +11,11 @@ using MineCase.World.Generation;
 using MineCase.World.Plants;
 using MineCase.World.Plants;
 using Newtonsoft.Json;
 using Newtonsoft.Json;
 using Orleans;
 using Orleans;
+using Orleans.Concurrency;
 
 
 namespace MineCase.Server.World.Decoration.Biomes
 namespace MineCase.Server.World.Decoration.Biomes
 {
 {
+    [StatelessWorker]
     public class BiomeHillDecoratorGrain : BiomeDecoratorGrain, IBiomeHillDecorator
     public class BiomeHillDecoratorGrain : BiomeDecoratorGrain, IBiomeHillDecorator
     {
     {
         public override Task OnActivateAsync()
         public override Task OnActivateAsync()

+ 2 - 0
src/MineCase.Server.Grains/World/Decoration/Biomes/BiomeRiverDecoratorGrain.cs

@@ -1,9 +1,11 @@
 using System;
 using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Text;
 using System.Text;
+using Orleans.Concurrency;
 
 
 namespace MineCase.Server.World.Decoration.Biomes
 namespace MineCase.Server.World.Decoration.Biomes
 {
 {
+    [StatelessWorker]
     public class BiomeRiverDecoratorGrain : BiomeDecoratorGrain, IBiomeRiverDecorator
     public class BiomeRiverDecoratorGrain : BiomeDecoratorGrain, IBiomeRiverDecorator
     {
     {
     }
     }

+ 2 - 0
src/MineCase.Server.Grains/World/Decoration/Biomes/BiomeSavannaDecoratorGrain.cs

@@ -4,9 +4,11 @@ using System.Text;
 using System.Threading.Tasks;
 using System.Threading.Tasks;
 using MineCase.World;
 using MineCase.World;
 using MineCase.World.Generation;
 using MineCase.World.Generation;
+using Orleans.Concurrency;
 
 
 namespace MineCase.Server.World.Decoration.Biomes
 namespace MineCase.Server.World.Decoration.Biomes
 {
 {
+    [StatelessWorker]
     public class BiomeSavannaDecoratorGrain : BiomeDecoratorGrain, IBiomeSavannaDecorator
     public class BiomeSavannaDecoratorGrain : BiomeDecoratorGrain, IBiomeSavannaDecorator
     {
     {
         public override Task Decorate(IWorld world, ChunkWorldPos chunkWorldPos, GeneratorSettings settings)
         public override Task Decorate(IWorld world, ChunkWorldPos chunkWorldPos, GeneratorSettings settings)

+ 2 - 0
src/MineCase.Server.Grains/World/Decoration/Biomes/BiomeTaigaDecoratorGrain.cs

@@ -11,9 +11,11 @@ using MineCase.World.Generation;
 using MineCase.World.Plants;
 using MineCase.World.Plants;
 using Newtonsoft.Json;
 using Newtonsoft.Json;
 using Orleans;
 using Orleans;
+using Orleans.Concurrency;
 
 
 namespace MineCase.Server.World.Decoration.Biomes
 namespace MineCase.Server.World.Decoration.Biomes
 {
 {
+    [StatelessWorker]
     public class BiomeTaigaDecoratorGrain : BiomeDecoratorGrain, IBiomeTaigaDecorator
     public class BiomeTaigaDecoratorGrain : BiomeDecoratorGrain, IBiomeTaigaDecorator
     {
     {
         public override Task OnActivateAsync()
         public override Task OnActivateAsync()

+ 2 - 0
src/MineCase.sln

@@ -34,7 +34,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MineCase.Core", "MineCase.C
 EndProject
 EndProject
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "data", "data", "{7DC8CDBD-087D-4F3C-B765-CA77783BECA5}"
 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "data", "data", "{7DC8CDBD-087D-4F3C-B765-CA77783BECA5}"
 	ProjectSection(SolutionItems) = preProject
 	ProjectSection(SolutionItems) = preProject
+		..\data\brewing.txt = ..\data\brewing.txt
 		..\data\crafting.txt = ..\data\crafting.txt
 		..\data\crafting.txt = ..\data\crafting.txt
+		..\data\digging.txt = ..\data\digging.txt
 		..\data\furnace.txt = ..\data\furnace.txt
 		..\data\furnace.txt = ..\data\furnace.txt
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject