瀏覽代碼

Bump the version

nxrighthere 4 年之前
父節點
當前提交
19d53ee7a7
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      Source/Managed/ENet-CSharp.csproj
  2. 1 1
      Source/Managed/ENet.cs
  3. 1 1
      Source/Native/enet.h

+ 1 - 1
Source/Managed/ENet-CSharp.csproj

@@ -2,7 +2,7 @@
 
   <PropertyGroup>
     <OutputType>Library</OutputType>
-    <TargetFrameworks>netstandard2.1;netcoreapp3.1</TargetFrameworks>
+    <TargetFrameworks>netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks>
     <Platforms>x64</Platforms>
     <RootNamespace>ENet</RootNamespace>
     <LangVersion>3</LangVersion>

+ 1 - 1
Source/Managed/ENet.cs

@@ -941,7 +941,7 @@ namespace ENet {
 		public const uint timeoutLimit = 32;
 		public const uint timeoutMinimum = 5000;
 		public const uint timeoutMaximum = 30000;
-		public const uint version = (2 << 16) | (4 << 8) | (5);
+		public const uint version = (2 << 16) | (4 << 8) | (6);
 
 		public static uint Time {
 			get {

+ 1 - 1
Source/Native/enet.h

@@ -31,7 +31,7 @@
 
 #define ENET_VERSION_MAJOR 2
 #define ENET_VERSION_MINOR 4
-#define ENET_VERSION_PATCH 5
+#define ENET_VERSION_PATCH 6
 #define ENET_VERSION_CREATE(major, minor, patch) (((major) << 16) | ((minor) << 8) | (patch))
 #define ENET_VERSION_GET_MAJOR(version) (((version) >> 16) & 0xFF)
 #define ENET_VERSION_GET_MINOR(version) (((version) >> 8) & 0xFF)