-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
108,904 additions
and
344 deletions.
There are no files selected for viewing
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace FirCommon.Data | ||
{ | ||
public enum CountryType : byte | ||
{ | ||
NONE = 0, //主角 | ||
WEI = 1, //魏国 | ||
SHU = 2, //蜀国 | ||
WU = 3, //吴国 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace FirCommon.Define | ||
{ | ||
public enum ProtoType : byte | ||
{ | ||
CSProtoMsg = 0, | ||
LuaProtoMsg = 1, | ||
} | ||
|
||
public static class Protocal | ||
{ | ||
public const string Default = "Default"; //缺省消息 | ||
public const string Connected = "Connected"; //链接完成 | ||
public const string Disconnect = "Disconnect"; //异常掉线 | ||
|
||
public const string ReqLogin = "pb_user.ReqLogin"; //请求用户登录 | ||
public const string ResLogin = "pb_user.ResLogin"; //返回用户登录 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> | ||
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute> | ||
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> | ||
<GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute> | ||
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Compile Remove="DataBase\**" /> | ||
<EmbeddedResource Remove="DataBase\**" /> | ||
<None Remove="DataBase\**" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Compile Remove="Define\CommonEnum.cs" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<Folder Include="Mono.Xml\" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<None Include="Define\CommonEnum.cs" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<Reference Include="Google.Protobuf"> | ||
<HintPath>Libraries\Protobuf\Google.Protobuf.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine"> | ||
<HintPath>Libraries\UnityEngine.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
|
||
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> | ||
<Exec Command="copy $(TargetPath) $(SolutionDir)..\
copy $(TargetPath) $(SolutionDir)..\FirServer\Libraries
copy $(TargetPath) $(SolutionDir)..\FirClient\Assets\Plugins
copy $(TargetPath) $(SolutionDir)..\FirToolkit\Libraries

copy $(ProjectDir)Define\CommonEnum.cs $(SolutionDir)..\FirClient\Assets\Scripts\Data
copy $(ProjectDir)Define\CommonEnum.cs $(SolutionDir)..\FirServer\FirSango\Data
" /> | ||
</Target> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.30804.86 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FirCommon", "FirCommon.csproj", "{22B25DCE-999D-4CE1-9013-0962DC56A4B7}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{22B25DCE-999D-4CE1-9013-0962DC56A4B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{22B25DCE-999D-4CE1-9013-0962DC56A4B7}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{22B25DCE-999D-4CE1-9013-0962DC56A4B7}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{22B25DCE-999D-4CE1-9013-0962DC56A4B7}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {97FDD024-01B6-4DC5-ABA9-9493FB977206} | ||
EndGlobalSection | ||
EndGlobal |
Binary file not shown.
Oops, something went wrong.