Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
guo450212436
et
提交
9879ea6c
E
et
项目概览
guo450212436
/
et
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
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,发现更多精彩内容 >>
提交
9879ea6c
编写于
11月 17, 2018
作者:
T
tanghai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
NoAwait改名成Coroutine,更加好懂一些,意思就是这里创建了一个新协程
上级
5d56826f
变更
34
隐藏空白更改
内联
并排
Showing
34 changed file
with
45 addition
and
37 deletion
+45
-37
Server/Hotfix/Handler/C2M_ReloadHandler.cs
Server/Hotfix/Handler/C2M_ReloadHandler.cs
+1
-1
Server/Hotfix/Module/Actor/MailBoxComponentSystem.cs
Server/Hotfix/Module/Actor/MailBoxComponentSystem.cs
+1
-1
Server/Hotfix/Module/ActorLocation/ActorLocationSenderComponentSystem.cs
...odule/ActorLocation/ActorLocationSenderComponentSystem.cs
+1
-1
Server/Hotfix/Module/ActorLocation/ActorLocationSenderSystem.cs
.../Hotfix/Module/ActorLocation/ActorLocationSenderSystem.cs
+2
-2
Server/Hotfix/Module/ActorLocation/ObjectGetRequestHandler.cs
...er/Hotfix/Module/ActorLocation/ObjectGetRequestHandler.cs
+1
-1
Server/Hotfix/Module/ActorLocation/ObjectLockRequestHandler.cs
...r/Hotfix/Module/ActorLocation/ObjectLockRequestHandler.cs
+1
-1
Server/Hotfix/Module/Benchmark/BenchmarkComponentSystem.cs
Server/Hotfix/Module/Benchmark/BenchmarkComponentSystem.cs
+1
-1
Server/Hotfix/Module/Benchmark/WebSocketBenchmarkComponentSystem.cs
...fix/Module/Benchmark/WebSocketBenchmarkComponentSystem.cs
+1
-1
Server/Hotfix/Module/DB/DBQueryBatchRequestHandler.cs
Server/Hotfix/Module/DB/DBQueryBatchRequestHandler.cs
+1
-1
Server/Hotfix/Module/DB/DBQueryJsonRequestHandler.cs
Server/Hotfix/Module/DB/DBQueryJsonRequestHandler.cs
+1
-1
Server/Hotfix/Module/DB/DBQueryRequestHandler.cs
Server/Hotfix/Module/DB/DBQueryRequestHandler.cs
+1
-1
Server/Hotfix/Module/DB/DBSaveBatchRequestHandler.cs
Server/Hotfix/Module/DB/DBSaveBatchRequestHandler.cs
+1
-1
Server/Hotfix/Module/DB/DBSaveRequestHandler.cs
Server/Hotfix/Module/DB/DBSaveRequestHandler.cs
+1
-1
Server/Hotfix/Module/Demo/C2G_EnterMapHandler.cs
Server/Hotfix/Module/Demo/C2G_EnterMapHandler.cs
+1
-1
Server/Hotfix/Module/Demo/C2R_LoginHandler.cs
Server/Hotfix/Module/Demo/C2R_LoginHandler.cs
+1
-1
Server/Hotfix/Module/Demo/Frame_ClickMapHandler.cs
Server/Hotfix/Module/Demo/Frame_ClickMapHandler.cs
+1
-1
Server/Hotfix/Module/Demo/G2M_CreateUnitHandler.cs
Server/Hotfix/Module/Demo/G2M_CreateUnitHandler.cs
+1
-1
Server/Hotfix/Module/Message/OuterMessageDispatcher.cs
Server/Hotfix/Module/Message/OuterMessageDispatcher.cs
+1
-1
Server/Model/Component/AppManagerComponent.cs
Server/Model/Component/AppManagerComponent.cs
+1
-1
Server/Model/Component/ConsoleComponent.cs
Server/Model/Component/ConsoleComponent.cs
+1
-1
Server/Model/Module/DB/DBTaskQueue.cs
Server/Model/Module/DB/DBTaskQueue.cs
+1
-1
Server/Model/Module/Demo/GateSessionKeyComponent.cs
Server/Model/Module/Demo/GateSessionKeyComponent.cs
+1
-1
Server/Model/Module/Http/HttpComponent.cs
Server/Model/Module/Http/HttpComponent.cs
+1
-1
Unity/Assets/Editor/ServerManagerEditor/ServerManagerEditor.cs
.../Assets/Editor/ServerManagerEditor/ServerManagerEditor.cs
+1
-1
Unity/Assets/Hotfix/Module/Demo/M2C_PathfindingResultHandler.cs
...Assets/Hotfix/Module/Demo/M2C_PathfindingResultHandler.cs
+1
-1
Unity/Assets/Hotfix/Module/Demo/OperaComponent.cs
Unity/Assets/Hotfix/Module/Demo/OperaComponent.cs
+1
-1
Unity/Assets/Hotfix/UI/UILobby/Component/UILobbyComponent.cs
Unity/Assets/Hotfix/UI/UILobby/Component/UILobbyComponent.cs
+1
-1
Unity/Assets/Hotfix/UI/UILogin/Component/UILoginComponent.cs
Unity/Assets/Hotfix/UI/UILogin/Component/UILoginComponent.cs
+1
-1
Unity/Assets/Model/Base/Async/ETTask.cs
Unity/Assets/Model/Base/Async/ETTask.cs
+8
-0
Unity/Assets/Model/Base/Async/ETVoid.cs
Unity/Assets/Model/Base/Async/ETVoid.cs
+1
-1
Unity/Assets/Model/Init.cs
Unity/Assets/Model/Init.cs
+1
-1
Unity/Assets/Model/Module/Message/Network/WebSocket/WChannel.cs
...Assets/Model/Module/Message/Network/WebSocket/WChannel.cs
+3
-3
Unity/Assets/Model/Module/Message/Network/WebSocket/WService.cs
...Assets/Model/Module/Message/Network/WebSocket/WService.cs
+2
-2
Unity/Assets/Model/UI/UILoading/Component/UILoadingComponent.cs
...Assets/Model/UI/UILoading/Component/UILoadingComponent.cs
+1
-1
未找到文件。
Server/Hotfix/Handler/C2M_ReloadHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -8,7 +8,7 @@ namespace ETHotfix
{
protected
override
void
Run
(
Session
session
,
C2M_Reload
message
,
Action
<
M2C_Reload
>
reply
)
{
RunAsync
(
session
,
message
,
reply
).
NoAwait
();
RunAsync
(
session
,
message
,
reply
).
Coroutine
();
}
private
async
ETVoid
RunAsync
(
Session
session
,
C2M_Reload
message
,
Action
<
M2C_Reload
>
reply
)
...
...
Server/Hotfix/Module/Actor/MailBoxComponentSystem.cs
浏览文件 @
9879ea6c
...
...
@@ -28,7 +28,7 @@ namespace ETHotfix
{
public
override
void
Start
(
MailBoxComponent
self
)
{
self
.
HandleAsync
().
NoAwait
();
self
.
HandleAsync
().
Coroutine
();
}
}
...
...
Server/Hotfix/Module/ActorLocation/ActorLocationSenderComponentSystem.cs
浏览文件 @
9879ea6c
...
...
@@ -8,7 +8,7 @@ namespace ETHotfix
{
public
override
void
Start
(
ActorLocationSenderComponent
self
)
{
StartAsync
(
self
).
NoAwait
();
StartAsync
(
self
).
Coroutine
();
}
// 每10s扫描一次过期的actorproxy进行回收,过期时间是1分钟
...
...
Server/Hotfix/Module/ActorLocation/ActorLocationSenderSystem.cs
浏览文件 @
9879ea6c
...
...
@@ -21,7 +21,7 @@ namespace ETHotfix
{
public
override
void
Start
(
ActorLocationSender
self
)
{
StartAsync
(
self
).
NoAwait
();
StartAsync
(
self
).
Coroutine
();
}
public
async
ETVoid
StartAsync
(
ActorLocationSender
self
)
...
...
@@ -32,7 +32,7 @@ namespace ETHotfix
.
Get
(
IdGenerater
.
GetAppIdFromId
(
self
.
ActorId
))
.
GetComponent
<
InnerConfig
>().
IPEndPoint
;
self
.
UpdateAsync
().
NoAwait
();
self
.
UpdateAsync
().
Coroutine
();
}
}
...
...
Server/Hotfix/Module/ActorLocation/ObjectGetRequestHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -8,7 +8,7 @@ namespace ETHotfix
{
protected
override
void
Run
(
Session
session
,
ObjectGetRequest
message
,
Action
<
ObjectGetResponse
>
reply
)
{
RunAsync
(
session
,
message
,
reply
).
NoAwait
();
RunAsync
(
session
,
message
,
reply
).
Coroutine
();
}
private
async
ETVoid
RunAsync
(
Session
session
,
ObjectGetRequest
message
,
Action
<
ObjectGetResponse
>
reply
)
...
...
Server/Hotfix/Module/ActorLocation/ObjectLockRequestHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -11,7 +11,7 @@ namespace ETHotfix
ObjectLockResponse
response
=
new
ObjectLockResponse
();
try
{
Game
.
Scene
.
GetComponent
<
LocationComponent
>().
Lock
(
message
.
Key
,
message
.
InstanceId
,
message
.
Time
).
NoAwait
();
Game
.
Scene
.
GetComponent
<
LocationComponent
>().
Lock
(
message
.
Key
,
message
.
InstanceId
,
message
.
Time
).
Coroutine
();
reply
(
response
);
}
catch
(
Exception
e
)
...
...
Server/Hotfix/Module/Benchmark/BenchmarkComponentSystem.cs
浏览文件 @
9879ea6c
...
...
@@ -23,7 +23,7 @@ namespace ETHotfix
NetOuterComponent
networkComponent
=
Game
.
Scene
.
GetComponent
<
NetOuterComponent
>();
for
(
int
i
=
0
;
i
<
1000
;
i
++)
{
self
.
TestAsync
(
networkComponent
,
ipEndPoint
,
i
).
NoAwait
();
self
.
TestAsync
(
networkComponent
,
ipEndPoint
,
i
).
Coroutine
();
}
}
catch
(
Exception
e
)
...
...
Server/Hotfix/Module/Benchmark/WebSocketBenchmarkComponentSystem.cs
浏览文件 @
9879ea6c
...
...
@@ -21,7 +21,7 @@ namespace ETHotfix
NetOuterComponent
networkComponent
=
Game
.
Scene
.
GetComponent
<
NetOuterComponent
>();
for
(
int
i
=
0
;
i
<
1000
;
i
++)
{
self
.
TestAsync
(
networkComponent
,
i
,
address
).
NoAwait
();
self
.
TestAsync
(
networkComponent
,
i
,
address
).
Coroutine
();
}
}
catch
(
Exception
e
)
...
...
Server/Hotfix/Module/DB/DBQueryBatchRequestHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -8,7 +8,7 @@ namespace ETHotfix
{
protected
override
void
Run
(
Session
session
,
DBQueryBatchRequest
message
,
Action
<
DBQueryBatchResponse
>
reply
)
{
RunAsync
(
session
,
message
,
reply
).
NoAwait
();
RunAsync
(
session
,
message
,
reply
).
Coroutine
();
}
protected
async
ETVoid
RunAsync
(
Session
session
,
DBQueryBatchRequest
message
,
Action
<
DBQueryBatchResponse
>
reply
)
...
...
Server/Hotfix/Module/DB/DBQueryJsonRequestHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -9,7 +9,7 @@ namespace ETHotfix
{
protected
override
void
Run
(
Session
session
,
DBQueryJsonRequest
message
,
Action
<
DBQueryJsonResponse
>
reply
)
{
RunAsync
(
session
,
message
,
reply
).
NoAwait
();
RunAsync
(
session
,
message
,
reply
).
Coroutine
();
}
protected
async
ETVoid
RunAsync
(
Session
session
,
DBQueryJsonRequest
message
,
Action
<
DBQueryJsonResponse
>
reply
)
...
...
Server/Hotfix/Module/DB/DBQueryRequestHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -8,7 +8,7 @@ namespace ETHotfix
{
protected
override
void
Run
(
Session
session
,
DBQueryRequest
message
,
Action
<
DBQueryResponse
>
reply
)
{
RunAsync
(
session
,
message
,
reply
).
NoAwait
();
RunAsync
(
session
,
message
,
reply
).
Coroutine
();
}
protected
async
ETVoid
RunAsync
(
Session
session
,
DBQueryRequest
message
,
Action
<
DBQueryResponse
>
reply
)
...
...
Server/Hotfix/Module/DB/DBSaveBatchRequestHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -8,7 +8,7 @@ namespace ETHotfix
{
protected
override
void
Run
(
Session
session
,
DBSaveBatchRequest
message
,
Action
<
DBSaveBatchResponse
>
reply
)
{
RunAsync
(
session
,
message
,
reply
).
NoAwait
();
RunAsync
(
session
,
message
,
reply
).
Coroutine
();
}
protected
async
ETVoid
RunAsync
(
Session
session
,
DBSaveBatchRequest
message
,
Action
<
DBSaveBatchResponse
>
reply
)
...
...
Server/Hotfix/Module/DB/DBSaveRequestHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -8,7 +8,7 @@ namespace ETHotfix
{
protected
override
void
Run
(
Session
session
,
DBSaveRequest
message
,
Action
<
DBSaveResponse
>
reply
)
{
RunAsync
(
session
,
message
,
reply
).
NoAwait
();
RunAsync
(
session
,
message
,
reply
).
Coroutine
();
}
protected
async
ETVoid
RunAsync
(
Session
session
,
DBSaveRequest
message
,
Action
<
DBSaveResponse
>
reply
)
...
...
Server/Hotfix/Module/Demo/C2G_EnterMapHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -9,7 +9,7 @@ namespace ETHotfix
{
protected
override
void
Run
(
Session
session
,
C2G_EnterMap
message
,
Action
<
G2C_EnterMap
>
reply
)
{
RunAsync
(
session
,
message
,
reply
).
NoAwait
();
RunAsync
(
session
,
message
,
reply
).
Coroutine
();
}
protected
async
ETVoid
RunAsync
(
Session
session
,
C2G_EnterMap
message
,
Action
<
G2C_EnterMap
>
reply
)
...
...
Server/Hotfix/Module/Demo/C2R_LoginHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -9,7 +9,7 @@ namespace ETHotfix
{
protected
override
void
Run
(
Session
session
,
C2R_Login
message
,
Action
<
R2C_Login
>
reply
)
{
RunAsync
(
session
,
message
,
reply
).
NoAwait
();
RunAsync
(
session
,
message
,
reply
).
Coroutine
();
}
private
async
ETVoid
RunAsync
(
Session
session
,
C2R_Login
message
,
Action
<
R2C_Login
>
reply
)
...
...
Server/Hotfix/Module/Demo/Frame_ClickMapHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -9,7 +9,7 @@ namespace ETHotfix
protected
override
void
Run
(
Unit
unit
,
Frame_ClickMap
message
)
{
Vector3
target
=
new
Vector3
(
message
.
X
,
message
.
Y
,
message
.
Z
);
unit
.
GetComponent
<
UnitPathComponent
>().
MoveTo
(
target
).
NoAwait
();
unit
.
GetComponent
<
UnitPathComponent
>().
MoveTo
(
target
).
Coroutine
();
}
}
...
...
Server/Hotfix/Module/Demo/G2M_CreateUnitHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -9,7 +9,7 @@ namespace ETHotfix
{
protected
override
void
Run
(
Session
session
,
G2M_CreateUnit
message
,
Action
<
M2G_CreateUnit
>
reply
)
{
RunAsync
(
session
,
message
,
reply
).
NoAwait
();
RunAsync
(
session
,
message
,
reply
).
Coroutine
();
}
protected
async
ETVoid
RunAsync
(
Session
session
,
G2M_CreateUnit
message
,
Action
<
M2G_CreateUnit
>
reply
)
...
...
Server/Hotfix/Module/Message/OuterMessageDispatcher.cs
浏览文件 @
9879ea6c
...
...
@@ -7,7 +7,7 @@ namespace ETHotfix
{
public
void
Dispatch
(
Session
session
,
ushort
opcode
,
object
message
)
{
DispatchAsync
(
session
,
opcode
,
message
).
NoAwait
();
DispatchAsync
(
session
,
opcode
,
message
).
Coroutine
();
}
public
async
ETVoid
DispatchAsync
(
Session
session
,
ushort
opcode
,
object
message
)
...
...
Server/Model/Component/AppManagerComponent.cs
浏览文件 @
9879ea6c
...
...
@@ -41,7 +41,7 @@ namespace ETModel
StartProcess
(
startConfig
.
AppId
);
}
this
.
WatchProcessAsync
().
NoAwait
();
this
.
WatchProcessAsync
().
Coroutine
();
}
private
void
StartProcess
(
int
appId
)
...
...
Server/Model/Component/ConsoleComponent.cs
浏览文件 @
9879ea6c
...
...
@@ -9,7 +9,7 @@ namespace ETModel
{
public
override
void
Start
(
ConsoleComponent
self
)
{
self
.
Start
().
NoAwait
();
self
.
Start
().
Coroutine
();
}
}
...
...
Server/Model/Module/DB/DBTaskQueue.cs
浏览文件 @
9879ea6c
...
...
@@ -17,7 +17,7 @@ namespace ETModel
{
public
override
void
Start
(
DBTaskQueue
self
)
{
StartAsync
(
self
).
NoAwait
();
StartAsync
(
self
).
Coroutine
();
}
public
async
ETVoid
StartAsync
(
DBTaskQueue
self
)
...
...
Server/Model/Module/Demo/GateSessionKeyComponent.cs
浏览文件 @
9879ea6c
...
...
@@ -9,7 +9,7 @@ namespace ETModel
public
void
Add
(
long
key
,
string
account
)
{
this
.
sessionKey
.
Add
(
key
,
account
);
this
.
TimeoutRemoveKey
(
key
).
NoAwait
();
this
.
TimeoutRemoveKey
(
key
).
Coroutine
();
}
public
string
Get
(
long
key
)
...
...
Server/Model/Module/Http/HttpComponent.cs
浏览文件 @
9879ea6c
...
...
@@ -119,7 +119,7 @@ namespace ETModel
this
.
listener
.
Start
();
this
.
Accept
().
NoAwait
();
this
.
Accept
().
Coroutine
();
}
catch
(
HttpListenerException
e
)
{
...
...
Unity/Assets/Editor/ServerManagerEditor/ServerManagerEditor.cs
浏览文件 @
9879ea6c
...
...
@@ -43,7 +43,7 @@ namespace ETEditor
return
;
}
ReloadAsync
(
this
.
managerAddress
,
this
.
account
,
this
.
password
).
NoAwait
();
ReloadAsync
(
this
.
managerAddress
,
this
.
account
,
this
.
password
).
Coroutine
();
}
GUILayout
.
EndHorizontal
();
...
...
Unity/Assets/Hotfix/Module/Demo/M2C_PathfindingResultHandler.cs
浏览文件 @
9879ea6c
...
...
@@ -14,7 +14,7 @@ namespace ETHotfix
unit
.
GetComponent
<
AnimatorComponent
>().
SetFloatValue
(
"Speed"
,
5f
);
UnitPathComponent
unitPathComponent
=
unit
.
GetComponent
<
UnitPathComponent
>();
unitPathComponent
.
StartMove
(
message
).
NoAwait
();
unitPathComponent
.
StartMove
(
message
).
Coroutine
();
GizmosDebug
.
Instance
.
Path
.
Clear
();
GizmosDebug
.
Instance
.
Path
.
Add
(
new
Vector3
(
message
.
X
,
message
.
Y
,
message
.
Z
));
...
...
Unity/Assets/Hotfix/Module/Demo/OperaComponent.cs
浏览文件 @
9879ea6c
...
...
@@ -50,7 +50,7 @@ namespace ETHotfix
ETModel
.
SessionComponent
.
Instance
.
Session
.
Send
(
frameClickMap
);
// 测试actor rpc消息
this
.
TestActor
().
NoAwait
();
this
.
TestActor
().
Coroutine
();
}
}
}
...
...
Unity/Assets/Hotfix/UI/UILobby/Component/UILobbyComponent.cs
浏览文件 @
9879ea6c
...
...
@@ -31,7 +31,7 @@ namespace ETHotfix
private
void
EnterMap
()
{
EnterMapAsync
().
NoAwait
();
EnterMapAsync
().
Coroutine
();
}
private
async
ETVoid
EnterMapAsync
()
...
...
Unity/Assets/Hotfix/UI/UILogin/Component/UILoginComponent.cs
浏览文件 @
9879ea6c
...
...
@@ -30,7 +30,7 @@ namespace ETHotfix
public
void
OnLogin
()
{
OnLoginAsync
().
NoAwait
();
OnLoginAsync
().
Coroutine
();
}
public
async
ETVoid
OnLoginAsync
()
...
...
Unity/Assets/Model/Base/Async/ETTask.cs
浏览文件 @
9879ea6c
...
...
@@ -33,6 +33,10 @@ namespace ETModel
awaiter
.
GetResult
();
}
}
public
void
Coroutine
()
{
}
[
DebuggerHidden
]
public
Awaiter
GetAwaiter
()
...
...
@@ -164,6 +168,10 @@ namespace ETModel
return
this
.
awaiter
.
GetResult
();
}
}
public
void
Coroutine
()
{
}
[
DebuggerHidden
]
public
Awaiter
GetAwaiter
()
...
...
Unity/Assets/Model/Base/Async/ETVoid.cs
浏览文件 @
9879ea6c
...
...
@@ -7,7 +7,7 @@ namespace ETModel
[
AsyncMethodBuilder
(
typeof
(
AsyncETVoidMethodBuilder
))]
public
struct
ETVoid
{
public
void
NoAwait
()
public
void
Coroutine
()
{
}
...
...
Unity/Assets/Model/Init.cs
浏览文件 @
9879ea6c
...
...
@@ -10,7 +10,7 @@ namespace ETModel
{
private
void
Start
()
{
this
.
StartAsync
().
NoAwait
();
this
.
StartAsync
().
Coroutine
();
}
private
async
ETVoid
StartAsync
()
...
...
Unity/Assets/Model/Module/Message/Network/WebSocket/WChannel.cs
浏览文件 @
9879ea6c
...
...
@@ -78,8 +78,8 @@ namespace ETModel
{
return
;
}
this
.
StartRecv
().
NoAwait
();
this
.
StartSend
().
NoAwait
();
this
.
StartRecv
().
Coroutine
();
this
.
StartSend
().
Coroutine
();
}
private
WService
GetService
()
...
...
@@ -110,7 +110,7 @@ namespace ETModel
if
(
this
.
isConnected
)
{
this
.
StartSend
().
NoAwait
();
this
.
StartSend
().
Coroutine
();
}
}
...
...
Unity/Assets/Model/Module/Message/Network/WebSocket/WService.cs
浏览文件 @
9879ea6c
...
...
@@ -20,7 +20,7 @@ namespace ETModel
this
.
httpListener
=
new
HttpListener
();
StartAccept
(
prefixs
).
NoAwait
();
StartAccept
(
prefixs
).
Coroutine
();
}
public
WService
()
...
...
@@ -44,7 +44,7 @@ namespace ETModel
ClientWebSocket
webSocket
=
new
ClientWebSocket
();
WChannel
channel
=
new
WChannel
(
webSocket
,
this
);
this
.
channels
[
channel
.
Id
]
=
channel
;
channel
.
ConnectAsync
(
address
).
NoAwait
();
channel
.
ConnectAsync
(
address
).
Coroutine
();
return
channel
;
}
...
...
Unity/Assets/Model/UI/UILoading/Component/UILoadingComponent.cs
浏览文件 @
9879ea6c
...
...
@@ -17,7 +17,7 @@ namespace ETModel
{
public
override
void
Start
(
UILoadingComponent
self
)
{
StartAsync
(
self
).
NoAwait
();
StartAsync
(
self
).
Coroutine
();
}
public
async
ETVoid
StartAsync
(
UILoadingComponent
self
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录