Update TEngineHotUpdate

Update TEngineHotUpdate
This commit is contained in:
ALEXTANG
2022-05-23 13:09:28 +08:00
parent df4edb231c
commit 2e7263101a
14 changed files with 174 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: faa98a72a5e857f49b8d46dae4310ce2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
namespace TEngineHotUpdate
{
public class GameLogicMain
{
public static void Init()
{
Debug.Log("Init");
}
public static void Start()
{
Debug.Log("Start");
}
public static void Update()
{
Debug.Log("Update");
}
public static void LateUpdate()
{
Debug.Log("LateUpdate");
}
public static void Destroy()
{
}
public static void OnApplicationPause(bool isPause)
{
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("GameLogic")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("GameLogic")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("2a2b3df5-ea8b-4d32-a1b0-f09c9af5e24e")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{2A2B3DF5-EA8B-4D32-A1B0-F09C9AF5E24E}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>TEngineHotUpdate</RootNamespace>
<AssemblyName>TEngineHotUpdate</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="UnityEngine">
<HintPath>UnityLib\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>UnityLib\UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="GameApp.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="src\**" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>call copy /y $(TargetDir)TEngineHotUpdate.dll $(ProjectDir)..\Assets\TResources\DLL\;
call "$(SolutionDir)..\Tools\pdb2mdb.exe" "$(TargetDir)TEngineHotUpdate.dll"
call copy /y $(TargetDir)TEngineHotUpdate.dll.mdb $(ProjectDir)..\Assets\TResources\DLL\;
del $(TargetDir)TEngineHotUpdate.dll.mdb;
</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32516.85
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TEngineHotUpdate", "TEngineHotUpdate.csproj", "{2A2B3DF5-EA8B-4D32-A1B0-F09C9AF5E24E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2A2B3DF5-EA8B-4D32-A1B0-F09C9AF5E24E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2A2B3DF5-EA8B-4D32-A1B0-F09C9AF5E24E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2A2B3DF5-EA8B-4D32-A1B0-F09C9AF5E24E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2A2B3DF5-EA8B-4D32-A1B0-F09C9AF5E24E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B26FD128-3F13-4A2E-9A8B-DF81DCAFC986}
EndGlobalSection
EndGlobal

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Tools/Mono.Cecil.Mdb.dll Normal file

Binary file not shown.

BIN
Tools/Mono.Cecil.Pdb.dll Normal file

Binary file not shown.

BIN
Tools/Mono.Cecil.dll Normal file

Binary file not shown.

BIN
Tools/Mono.Security.dll Normal file

Binary file not shown.

BIN
Tools/pdb2mdb.exe Normal file

Binary file not shown.