diff --git a/.gitignore b/.gitignore index 920974e..d4a8d0f 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ *.out *.log -/output \ No newline at end of file +/output +/publish \ No newline at end of file diff --git a/obj/Debug/net6.0/apphost b/obj/Debug/net6.0/apphost new file mode 100755 index 0000000..a201475 Binary files /dev/null and b/obj/Debug/net6.0/apphost differ diff --git a/obj/Debug/net6.0/dfbattle.AssemblyInfo.cs b/obj/Debug/net6.0/dfbattle.AssemblyInfo.cs new file mode 100644 index 0000000..103948f --- /dev/null +++ b/obj/Debug/net6.0/dfbattle.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("dfbattle")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("dfbattle")] +[assembly: System.Reflection.AssemblyTitleAttribute("dfbattle")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/obj/Debug/net6.0/dfbattle.AssemblyInfoInputs.cache b/obj/Debug/net6.0/dfbattle.AssemblyInfoInputs.cache new file mode 100644 index 0000000..1720c65 --- /dev/null +++ b/obj/Debug/net6.0/dfbattle.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +1c0b81c852e44cc253216ba4ce98894e13df5491 diff --git a/obj/Debug/net6.0/dfbattle.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net6.0/dfbattle.GeneratedMSBuildEditorConfig.editorconfig index 8265cfe..a216f83 100644 --- a/obj/Debug/net6.0/dfbattle.GeneratedMSBuildEditorConfig.editorconfig +++ b/obj/Debug/net6.0/dfbattle.GeneratedMSBuildEditorConfig.editorconfig @@ -7,4 +7,4 @@ build_property.InvariantGlobalization = build_property.PlatformNeutralAssembly = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = dfbattle -build_property.ProjectDir = f:\work\c#\dfbattle\ +build_property.ProjectDir = /home/liwei/dfbattle/ diff --git a/obj/Debug/net6.0/dfbattle.assets.cache b/obj/Debug/net6.0/dfbattle.assets.cache index adbce66..84b314c 100644 Binary files a/obj/Debug/net6.0/dfbattle.assets.cache and b/obj/Debug/net6.0/dfbattle.assets.cache differ diff --git a/obj/Debug/net6.0/dfbattle.csproj.AssemblyReference.cache b/obj/Debug/net6.0/dfbattle.csproj.AssemblyReference.cache new file mode 100644 index 0000000..2440be0 Binary files /dev/null and b/obj/Debug/net6.0/dfbattle.csproj.AssemblyReference.cache differ diff --git a/obj/Debug/net6.0/dfbattle.csproj.CopyComplete b/obj/Debug/net6.0/dfbattle.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/obj/Debug/net6.0/dfbattle.csproj.CoreCompileInputs.cache b/obj/Debug/net6.0/dfbattle.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..453d89f --- /dev/null +++ b/obj/Debug/net6.0/dfbattle.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +a9f6a2cbd6919dfe98486fa4701a25b8e100cc87 diff --git a/obj/Debug/net6.0/dfbattle.csproj.FileListAbsolute.txt b/obj/Debug/net6.0/dfbattle.csproj.FileListAbsolute.txt index f9a5984..e7b7729 100644 --- a/obj/Debug/net6.0/dfbattle.csproj.FileListAbsolute.txt +++ b/obj/Debug/net6.0/dfbattle.csproj.FileListAbsolute.txt @@ -21,3 +21,26 @@ F:/work/c#/dfbattle/obj/Debug/net6.0/refint/dfbattle.dll F:/work/c#/dfbattle/obj/Debug/net6.0/dfbattle.pdb F:/work/c#/dfbattle/obj/Debug/net6.0/dfbattle.genruntimeconfig.cache F:/work/c#/dfbattle/obj/Debug/net6.0/ref/dfbattle.dll +/home/liwei/dfbattle/output/dfbattle +/home/liwei/dfbattle/output/dfbattle.deps.json +/home/liwei/dfbattle/output/dfbattle.runtimeconfig.json +/home/liwei/dfbattle/output/dfbattle.dll +/home/liwei/dfbattle/output/dfbattle.pdb +/home/liwei/dfbattle/output/Fleck.dll +/home/liwei/dfbattle/output/Microsoft.Extensions.DependencyInjection.dll +/home/liwei/dfbattle/output/Microsoft.Extensions.DependencyInjection.Abstractions.dll +/home/liwei/dfbattle/output/battle.dll +/home/liwei/dfbattle/output/FightRunner.dll +/home/liwei/dfbattle/output/GameFight.dll +/home/liwei/dfbattle/output/GameProto.dll +/home/liwei/dfbattle/obj/Debug/net6.0/dfbattle.csproj.AssemblyReference.cache +/home/liwei/dfbattle/obj/Debug/net6.0/dfbattle.GeneratedMSBuildEditorConfig.editorconfig +/home/liwei/dfbattle/obj/Debug/net6.0/dfbattle.AssemblyInfoInputs.cache +/home/liwei/dfbattle/obj/Debug/net6.0/dfbattle.AssemblyInfo.cs +/home/liwei/dfbattle/obj/Debug/net6.0/dfbattle.csproj.CoreCompileInputs.cache +/home/liwei/dfbattle/obj/Debug/net6.0/dfbattle.csproj.CopyComplete +/home/liwei/dfbattle/obj/Debug/net6.0/dfbattle.dll +/home/liwei/dfbattle/obj/Debug/net6.0/refint/dfbattle.dll +/home/liwei/dfbattle/obj/Debug/net6.0/dfbattle.pdb +/home/liwei/dfbattle/obj/Debug/net6.0/dfbattle.genruntimeconfig.cache +/home/liwei/dfbattle/obj/Debug/net6.0/ref/dfbattle.dll diff --git a/obj/Debug/net6.0/dfbattle.dll b/obj/Debug/net6.0/dfbattle.dll new file mode 100644 index 0000000..a50165c Binary files /dev/null and b/obj/Debug/net6.0/dfbattle.dll differ diff --git a/obj/Debug/net6.0/dfbattle.genruntimeconfig.cache b/obj/Debug/net6.0/dfbattle.genruntimeconfig.cache new file mode 100644 index 0000000..23a35a1 --- /dev/null +++ b/obj/Debug/net6.0/dfbattle.genruntimeconfig.cache @@ -0,0 +1 @@ +ce008eecd25694de187e069485ceb927ba88ca04 diff --git a/obj/Debug/net6.0/dfbattle.pdb b/obj/Debug/net6.0/dfbattle.pdb new file mode 100644 index 0000000..b84eb87 Binary files /dev/null and b/obj/Debug/net6.0/dfbattle.pdb differ diff --git a/obj/Debug/net6.0/ref/dfbattle.dll b/obj/Debug/net6.0/ref/dfbattle.dll new file mode 100644 index 0000000..b875396 Binary files /dev/null and b/obj/Debug/net6.0/ref/dfbattle.dll differ diff --git a/obj/Debug/net6.0/refint/dfbattle.dll b/obj/Debug/net6.0/refint/dfbattle.dll new file mode 100644 index 0000000..b875396 Binary files /dev/null and b/obj/Debug/net6.0/refint/dfbattle.dll differ diff --git a/start.sh b/start.sh deleted file mode 100755 index 2c900a1..0000000 --- a/start.sh +++ /dev/null @@ -1,3 +0,0 @@ -./stup.sh start dfbattle.dll -sleep 1 -exit \ No newline at end of file diff --git a/stop.sh b/stop.sh deleted file mode 100755 index 2977c26..0000000 --- a/stop.sh +++ /dev/null @@ -1 +0,0 @@ -./stup.sh stop dfbattle.dll \ No newline at end of file diff --git a/stup.sh b/stup.sh deleted file mode 100755 index e8203a7..0000000 --- a/stup.sh +++ /dev/null @@ -1,60 +0,0 @@ - #!/bin/sh - SERVICE=$2 - CMD="dotnet $2" - - start(){ - echo "starting $SERVICE..." - num=`ps -ef | grep dotnet | grep $SERVICE | grep -v grep | grep -v /bin/bash | wc -l` - if [ $num -eq 0 ] - then - # nohup $CMD > /dev/null 2>&1 & - nohup $CMD > $SERVICE.log 2>&1 & - if [ $? -ne 0 ] - then - echo "start failed, please check the log!" - exit $? - else - - # echo $! > $SERVICE.pid - echo "start success" - fi - else - echo "$SERVICE is already running" - fi - - - } - stop(){ - echo "stopping $SERVICE..." - #kill -9 `cat $SERVICE.pid` - kill -9 `ps -ef | grep dotnet | grep $SERVICE | awk '{print $2}'` - if [ $? -ne 0 ] - then - echo "stop failed, may be $SERVICE isn't running" - exit $? - else - #rm -rf $SERVICE.pid - echo "stop success" - fi - } - restart(){ - stop&&start - } - status(){ - num=`ps -ef | grep dotnet | grep $SERVICE | grep -v grep | wc -l` - if [ $num -eq 0 ] - then - echo "$SERVICE isn't running" - else - echo "$SERVICE is running" - fi - } - case $1 in - start) start ;; - stop) stop ;; - restart) restart ;; - status) status ;; - *) echo "Usage: $0 {start|stop|restart|status}" ;; - esac - - exit 0