コード例 #1
0
 public MinecraftServer(Socket socket)
 {
     this.Socket = socket;
     this.ServerAddress = (IPEndPoint)this.Socket.RemoteEndPoint;
     this.ServerName = this.ServerMOTD = this.Password = this.Hash = "";
     this.MapSeed = this.Time = 0L;
     Entities = new EntityCollection();
     Chunks = new ChunkProvider();
     MapManager = new MapManager(Chunks);
 }
コード例 #2
0
ファイル: MapManager.cs プロジェクト: tgrochowicz/mcsharpbot
 public MapManager(ChunkProvider chunks)
 {
     this.Chunks = chunks;
 }