Skip to content

Commit 62b745a

Browse files
committed
Fix editor script error when installing from PackageManager
1 parent f79b142 commit 62b745a

File tree

13 files changed

+40
-13
lines changed

13 files changed

+40
-13
lines changed

pack.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
dotnet clean
2+
dotnet build -c Release
13
dotnet pack -c Release
24
@PAUSE

src/EuNet.Client/EuNet.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Authors>zestylife</Authors>
66
<Company>
77
</Company>
8-
<Version>1.1.16</Version>
8+
<Version>1.1.17</Version>
99
<Copyright>
1010
</Copyright>
1111
<PackageProjectUrl>https://github.com/zestylife/EuNet</PackageProjectUrl>

src/EuNet.CodeGenerator.Templates/EuNet.CodeGenerator.Templates.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<TargetFramework>netstandard2.0</TargetFramework>
44
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
5-
<Version>1.1.16</Version>
5+
<Version>1.1.17</Version>
66
<PackageLicenseExpression>MIT</PackageLicenseExpression>
77
<PackageOutputPath>../../nupkg</PackageOutputPath>
88
<NuspecFile>EuNet.CodeGenerator.Templates.nuspec</NuspecFile>

src/EuNet.CodeGenerator.Templates/EuNet.CodeGenerator.Templates.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
44
<id>EuNet.CodeGenerator.Templates</id>
55
<title>EuNet.CodeGenerator.Templates</title>
6-
<version>1.1.16</version>
6+
<version>1.1.17</version>
77
<authors>zestylife</authors>
88
<owners>zestylife</owners>
99
<description>EuNet.CodeGenerator.Templates</description>
@@ -13,8 +13,8 @@
1313
<releaseNotes>EuNet.CodeGenerator.Templates</releaseNotes>
1414
<tags>C# TCP P2P UDP Network Unity RPC HolePunching Relay</tags>
1515
<dependencies>
16-
<dependency id="EuNet.Core" version="1.1.16" />
17-
<dependency id="EuNet.Rpc" version="1.1.16" />
16+
<dependency id="EuNet.Core" version="1.1.17" />
17+
<dependency id="EuNet.Rpc" version="1.1.17" />
1818
</dependencies>
1919
<references>
2020
</references>

src/EuNet.CodeGenerator/EuNet.CodeGenerator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PackAsTool>true</PackAsTool>
66
<ToolCommandName>enc</ToolCommandName>
77
<PackageOutputPath>../../nupkg</PackageOutputPath>
8-
<Version>1.1.16</Version>
8+
<Version>1.1.17</Version>
99
</PropertyGroup>
1010
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
1111
</PropertyGroup>

src/EuNet.Core/EuNet.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Authors>zestylife</Authors>
66
<Company>
77
</Company>
8-
<Version>1.1.16</Version>
8+
<Version>1.1.17</Version>
99
<Copyright>
1010
</Copyright>
1111
<PackageProjectUrl>https://github.com/zestylife/EuNet</PackageProjectUrl>

src/EuNet.Rpc/EuNet.Rpc.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Authors>zestylife</Authors>
66
<Company>
77
</Company>
8-
<Version>1.1.16</Version>
8+
<Version>1.1.17</Version>
99
<Copyright>
1010
</Copyright>
1111
<PackageProjectUrl>https://github.com/zestylife/EuNet</PackageProjectUrl>

src/EuNet.Server/EuNet.Server.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Authors>zestylife</Authors>
66
<Company>
77
</Company>
8-
<Version>1.1.16</Version>
8+
<Version>1.1.17</Version>
99
<Copyright>
1010
</Copyright>
1111
<PackageProjectUrl>https://github.com/zestylife/EuNet</PackageProjectUrl>

src/EuNet.Unity/Assets/Plugins/EuNet/Runtime/EuNet.Unity/NetClientBehaviour.cs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,31 @@ public class NetClientBehaviour : MonoBehaviour
2929
protected NetClient _client;
3030
public NetClient Client => _client;
3131

32+
/// <summary>
33+
/// 현재 세션아이디
34+
/// </summary>
35+
public ushort SessionId => _client.SessionId;
36+
37+
/// <summary>
38+
/// TCP 채널
39+
/// </summary>
40+
public TcpChannel TcpChannel => _client.TcpChannel;
41+
42+
/// <summary>
43+
/// UDP 채널
44+
/// </summary>
45+
public UdpChannel UdpChannel => _client.UdpChannel;
46+
47+
/// <summary>
48+
/// P2P 그룹
49+
/// </summary>
50+
public P2pGroup P2pGroup => _client.P2pGroup;
51+
52+
/// <summary>
53+
/// 현재 세션상태
54+
/// </summary>
55+
public SessionState State => _client.State;
56+
3257
[NonSerialized]
3358
public Action<ClientOption> SetClientOptionFunc;
3459

src/EuNet.Unity/Assets/Plugins/EuNet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.zestylife.eunet",
33
"displayName": "EuNet",
4-
"version": "1.1.16",
4+
"version": "1.1.17",
55
"unity": "2018.4",
66
"description": "Easy Unity Network (EuNet) is a network solution for multiplayer games.",
77
"keywords": [

0 commit comments

Comments
 (0)