Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
老鱼er
et
提交
ada34441
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,发现更多精彩内容 >>
提交
ada34441
编写于
10月 22, 2018
作者:
T
tanghai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
漏掉了几个Task没改成ETTask
上级
e7ac247a
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
9 addition
and
9 deletion
+9
-9
Server/Hotfix/Module/Actor/ActorMessageSenderHelper.cs
Server/Hotfix/Module/Actor/ActorMessageSenderHelper.cs
+1
-1
Server/Hotfix/Module/ActorLocation/ActorLocationSenderSystem.cs
.../Hotfix/Module/ActorLocation/ActorLocationSenderSystem.cs
+1
-1
Server/Hotfix/Module/Benchmark/WebSocketBenchmarkComponentSystem.cs
...fix/Module/Benchmark/WebSocketBenchmarkComponentSystem.cs
+1
-1
Server/Hotfix/Module/Demo/UnitPathComponentSystem.cs
Server/Hotfix/Module/Demo/UnitPathComponentSystem.cs
+1
-1
Server/Hotfix/Module/Http/HttpTest.cs
Server/Hotfix/Module/Http/HttpTest.cs
+1
-1
Server/Model/Module/Http/HttpComponent.cs
Server/Model/Module/Http/HttpComponent.cs
+1
-1
Unity/Assets/Model/Module/AssetsBundle/AssetsLoaderAsync.cs
Unity/Assets/Model/Module/AssetsBundle/AssetsLoaderAsync.cs
+1
-1
Unity/Assets/Model/Module/Message/Network/Circularbuffer.cs
Unity/Assets/Model/Module/Message/Network/Circularbuffer.cs
+2
-2
未找到文件。
Server/Hotfix/Module/Actor/ActorMessageSenderHelper.cs
浏览文件 @
ada34441
...
...
@@ -12,7 +12,7 @@ namespace ETHotfix
session
.
Send
(
message
);
}
public
static
async
Task
<
IActorResponse
>
Call
(
this
ActorMessageSender
self
,
IActorRequest
message
)
public
static
async
ET
Task
<
IActorResponse
>
Call
(
this
ActorMessageSender
self
,
IActorRequest
message
)
{
Session
session
=
Game
.
Scene
.
GetComponent
<
NetInnerComponent
>().
Get
(
self
.
Address
);
message
.
ActorId
=
self
.
ActorId
;
...
...
Server/Hotfix/Module/ActorLocation/ActorLocationSenderSystem.cs
浏览文件 @
ada34441
...
...
@@ -139,7 +139,7 @@ namespace ETHotfix
}
}
private
static
async
Task
RunTask
(
this
ActorLocationSender
self
,
ActorTask
task
)
private
static
async
ET
Task
RunTask
(
this
ActorLocationSender
self
,
ActorTask
task
)
{
ActorMessageSender
actorMessageSender
=
Game
.
Scene
.
GetComponent
<
ActorMessageSenderComponent
>().
Get
(
self
.
ActorId
);
IActorResponse
response
=
await
actorMessageSender
.
Call
(
task
.
ActorRequest
);
...
...
Server/Hotfix/Module/Benchmark/WebSocketBenchmarkComponentSystem.cs
浏览文件 @
ada34441
...
...
@@ -55,7 +55,7 @@ namespace ETHotfix
}
}
public
static
async
Task
Send
(
this
WebSocketBenchmarkComponent
self
,
Session
session
,
int
j
)
public
static
async
ET
Task
Send
(
this
WebSocketBenchmarkComponent
self
,
Session
session
,
int
j
)
{
try
{
...
...
Server/Hotfix/Module/Demo/UnitPathComponentSystem.cs
浏览文件 @
ada34441
...
...
@@ -8,7 +8,7 @@ namespace ETHotfix
{
public
static
class
UnitPathComponentHelper
{
public
static
async
Task
MoveAsync
(
this
UnitPathComponent
self
,
List
<
Vector3
>
path
)
public
static
async
ET
Task
MoveAsync
(
this
UnitPathComponent
self
,
List
<
Vector3
>
path
)
{
if
(
path
.
Count
==
0
)
{
...
...
Server/Hotfix/Module/Http/HttpTest.cs
浏览文件 @
ada34441
...
...
@@ -35,7 +35,7 @@ namespace ETHotfix
}
[
Get
]
// url-> /GetRechargeRecord
public
async
Task
<
HttpResult
>
GetRechargeRecord
(
long
id
)
public
async
ET
Task
<
HttpResult
>
GetRechargeRecord
(
long
id
)
{
// var db = Game.Scene.GetComponent<DBProxyComponent>();
...
...
Server/Model/Module/Http/HttpComponent.cs
浏览文件 @
ada34441
...
...
@@ -235,7 +235,7 @@ namespace ETModel
// 自动把返回值,以json方式响应。
object
resp
=
methodInfo
.
Invoke
(
httpHandler
,
args
);
object
result
=
resp
;
if
(
resp
is
Task
t
)
if
(
resp
is
ET
Task
t
)
{
await
t
;
result
=
t
.
GetType
().
GetProperty
(
"Result"
).
GetValue
(
t
,
null
);
...
...
Unity/Assets/Model/Module/AssetsBundle/AssetsLoaderAsync.cs
浏览文件 @
ada34441
...
...
@@ -58,7 +58,7 @@ namespace ETModel
this
.
request
=
null
;
}
public
async
Task
<
UnityEngine
.
Object
[
]>
LoadAllAssetsAsync
()
public
async
ET
Task
<
UnityEngine
.
Object
[
]>
LoadAllAssetsAsync
()
{
await
InnerLoadAllAssetsAsync
();
return
this
.
request
.
allAssets
;
...
...
Unity/Assets/Model/Module/Message/Network/Circularbuffer.cs
浏览文件 @
ada34441
...
...
@@ -95,7 +95,7 @@ namespace ETModel
/// </summary>
/// <param name="stream"></param>
/// <returns></returns>
public
async
Task
ReadAsync
(
Stream
stream
)
public
async
ET
Task
ReadAsync
(
Stream
stream
)
{
long
buffLength
=
this
.
Length
;
int
sendSize
=
this
.
ChunkSize
-
this
.
FirstIndex
;
...
...
@@ -178,7 +178,7 @@ namespace ETModel
/// </summary>
/// <param name="stream"></param>
/// <returns></returns>
public
async
Task
<
int
>
WriteAsync
(
Stream
stream
)
public
async
ET
Task
<
int
>
WriteAsync
(
Stream
stream
)
{
int
size
=
this
.
ChunkSize
-
this
.
LastIndex
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录