Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
老鱼er
et
提交
ffc14137
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,发现更多精彩内容 >>
提交
ffc14137
编写于
6月 03, 2017
作者:
T
tanghai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除了Mongodb在unity中的使用,主要是ios不支持
上级
444376e5
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
2 addition
and
41 deletion
+2
-41
Unity/Hotfix/Component/MessageDispatherComponent.cs
Unity/Hotfix/Component/MessageDispatherComponent.cs
+1
-1
Unity/Hotfix/Config/ACategory.cs
Unity/Hotfix/Config/ACategory.cs
+1
-1
Unity/Hotfix/Object/Object.cs
Unity/Hotfix/Object/Object.cs
+0
-5
Unity/Hotfix/Other/Options.cs
Unity/Hotfix/Other/Options.cs
+0
-33
Unity/Hotfix/Unity.Hotfix.csproj
Unity/Hotfix/Unity.Hotfix.csproj
+0
-1
未找到文件。
Unity/Hotfix/Component/MessageDispatherComponent.cs
浏览文件 @
ffc14137
...
...
@@ -79,7 +79,7 @@ namespace Hotfix
}
Type
messageType
=
this
.
opcodeTypes
.
GetValueByKey
(
messageInfo
.
Opcode
);
object
message
=
MongoHelper
.
FromB
son
(
messageType
,
messageInfo
.
MessageBytes
,
messageInfo
.
Offset
,
messageInfo
.
Count
);
object
message
=
JsonHelper
.
FromJ
son
(
messageType
,
messageInfo
.
MessageBytes
,
messageInfo
.
Offset
,
messageInfo
.
Count
);
messageInfo
.
Message
=
message
;
foreach
(
IInstanceMethod
ev
in
actions
)
...
...
Unity/Hotfix/Config/ACategory.cs
浏览文件 @
ffc14137
...
...
@@ -28,7 +28,7 @@ namespace Hotfix
{
continue
;
}
T
t
=
Mongo
Helper
.
FromJson
<
T
>(
str2
);
T
t
=
Json
Helper
.
FromJson
<
T
>(
str2
);
this
.
dict
.
Add
(
t
.
Id
,
t
);
}
catch
(
Exception
e
)
...
...
Unity/Hotfix/Object/Object.cs
浏览文件 @
ffc14137
...
...
@@ -25,10 +25,5 @@ namespace Hotfix
public
virtual
void
Dispose
()
{
}
public
object
Clone
()
{
return
MongoHelper
.
FromBson
(
this
.
GetType
(),
this
.
ToBson
());
}
}
}
\ No newline at end of file
Unity/Hotfix/Other/Options.cs
已删除
100644 → 0
浏览文件 @
444376e5
using
System
;
using
Model
;
using
MongoDB.Bson
;
#if SERVER
using
CommandLine
;
#endif
namespace
Hotfix
{
public
class
Options
:
ICloneable
{
#if SERVER
[
Option
(
"appId"
,
Required
=
true
)]
#endif
public
int
AppId
{
get
;
set
;
}
#if SERVER
[
Option
(
"appType"
,
Required
=
true
)]
#endif
public
AppType
AppType
{
get
;
set
;
}
#if SERVER
[
Option
(
"config"
,
Required
=
false
,
DefaultValue
=
"Start.txt"
)]
#endif
public
string
Config
{
get
;
set
;
}
public
object
Clone
()
{
return
MongoHelper
.
FromBson
<
Options
>(
this
.
ToBson
());
}
}
}
\ No newline at end of file
Unity/Hotfix/Unity.Hotfix.csproj
浏览文件 @
ffc14137
...
...
@@ -138,7 +138,6 @@
<Compile
Include=
"Other\ILBindingAttribute.cs"
/>
<Compile
Include=
"Other\IUIFactory.cs"
/>
<Compile
Include=
"Other\LayerNames.cs"
/>
<Compile
Include=
"Other\Options.cs"
/>
<Compile
Include=
"Other\UIFactoryAttribute.cs"
/>
<Compile
Include=
"Other\UIType.cs"
/>
<Compile
Include=
"UI\UILobby\Event\InitSceneStart_CreateLobbyUI.cs"
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录