Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
老鱼er
et
提交
176a7637
E
et
项目概览
老鱼er
/
et
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
et
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
176a7637
编写于
4月 28, 2021
作者:
L
Logicoder
提交者:
GitHub
4月 28, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update StartSceneConfig (#235)
* 把Core的依赖文件移到Core内部,使得Core不在依赖任何外部文件
上级
30b147ab
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
7 addition
and
35 deletion
+7
-35
Server/Model/Generate/ConfigPartial/StartSceneConfig.cs
Server/Model/Generate/ConfigPartial/StartSceneConfig.cs
+1
-1
Server/Model/Server.Model.csproj
Server/Model/Server.Model.csproj
+0
-1
Unity/Assets/Model/Base/Options.cs
Unity/Assets/Model/Base/Options.cs
+0
-27
Unity/Assets/Model/Core/Helper/ProtobufHelper.cs
Unity/Assets/Model/Core/Helper/ProtobufHelper.cs
+0
-0
Unity/Assets/Model/Core/Helper/ProtobufHelper.cs.meta
Unity/Assets/Model/Core/Helper/ProtobufHelper.cs.meta
+0
-0
Unity/Assets/Model/Core/Options.cs
Unity/Assets/Model/Core/Options.cs
+6
-6
Unity/Assets/Model/Core/Options.cs.meta
Unity/Assets/Model/Core/Options.cs.meta
+0
-0
未找到文件。
Server/Model/Generate/ConfigPartial/StartSceneConfig.cs
浏览文件 @
176a7637
...
...
@@ -67,7 +67,7 @@ namespace ET
{
get
{
return
StartZoneConfigCategory
.
Instance
.
Get
(
this
.
Process
);
return
StartZoneConfigCategory
.
Instance
.
Get
(
this
.
Zone
);
}
}
...
...
Server/Model/Server.Model.csproj
浏览文件 @
176a7637
...
...
@@ -82,7 +82,6 @@
<Compile Include="..\..\Unity\Assets\Model\Module\Message\MessageHandlerAttribute.cs" Link="Module\Message\MessageHandlerAttribute.cs" />
<Compile Include="..\..\Unity\Assets\Model\Module\Message\OpcodeHelper.cs" Link="Module\Message\OpcodeHelper.cs" />
<Compile Include="..\..\Unity\Assets\Model\Module\Message\OpcodeTypeComponent.cs" Link="Module\Message\OpcodeTypeComponent.cs" />
<Compile Include="..\..\Unity\Assets\Model\Module\Message\ProtobufHelper.cs" Link="Module\Message\ProtobufHelper.cs" />
<Compile Include="..\..\Unity\Assets\Model\Module\Message\RpcException.cs" Link="Module\Message\RpcException.cs" />
<Compile Include="..\..\Unity\Assets\Model\Module\Message\Session.cs" Link="Module\Message\Session.cs" />
<Compile Include="..\..\Unity\Assets\Model\Module\NetworkTCP\PacketParser.cs">
...
...
Unity/Assets/Model/Base/Options.cs
已删除
100644 → 0
浏览文件 @
30b147ab
using
CommandLine
;
using
System
;
using
System.Collections.Generic
;
namespace
ET
{
public
enum
ServerType
{
Game
,
Watcher
,
}
public
class
Options
{
[
Option
(
"ServerType"
,
Required
=
false
,
Default
=
ServerType
.
Game
,
HelpText
=
"serverType enum"
)]
public
ServerType
ServerType
{
get
;
set
;
}
[
Option
(
"Process"
,
Required
=
false
,
Default
=
1
)]
public
int
Process
{
get
;
set
;
}
=
1
;
[
Option
(
"Develop"
,
Required
=
false
,
Default
=
0
,
HelpText
=
"develop mode, 0正式 1开发 2压测"
)]
public
int
Develop
{
get
;
set
;
}
=
0
;
[
Option
(
"LogLevel"
,
Required
=
false
,
Default
=
0
)]
public
int
LogLevel
{
get
;
set
;
}
=
2
;
}
}
\ No newline at end of file
Unity/Assets/Model/
Module/Message
/ProtobufHelper.cs
→
Unity/Assets/Model/
Core/Helper
/ProtobufHelper.cs
浏览文件 @
176a7637
文件已移动
Unity/Assets/Model/
Module/Message
/ProtobufHelper.cs.meta
→
Unity/Assets/Model/
Core/Helper
/ProtobufHelper.cs.meta
浏览文件 @
176a7637
文件已移动
Server/Model/Demo
/Options.cs
→
Unity/Assets/Model/Core
/Options.cs
浏览文件 @
176a7637
using
CommandLine
;
using
CommandLine
;
namespace
ET
{
...
...
@@ -7,16 +7,16 @@ namespace ET
Game
,
Watcher
,
}
public
class
Options
{
//[Option("StartConfig", Required = true)]
//public string StartConfig { get; set; }
//
//[Option("ServerType", Required = false, Default = ServerType.Game, HelpText = "serverType enum")]
//public ServerType ServerType { get; set; }
[
Option
(
"Develop"
,
Required
=
false
,
Default
=
0
,
HelpText
=
"develop mode"
)]
[
Option
(
"ServerType"
,
Required
=
false
,
Default
=
ServerType
.
Game
,
HelpText
=
"serverType enum"
)]
public
ServerType
ServerType
{
get
;
set
;
}
[
Option
(
"Develop"
,
Required
=
false
,
Default
=
0
,
HelpText
=
"develop mode, 0正式 1开发 2压测"
)]
public
int
Develop
{
get
;
set
;
}
[
Option
(
"Process"
,
Required
=
false
,
Default
=
1
)]
...
...
Unity/Assets/Model/
Bas
e/Options.cs.meta
→
Unity/Assets/Model/
Cor
e/Options.cs.meta
浏览文件 @
176a7637
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录