From 38ae58424dfd6daf749759e300fa2ee06c23c6f9 Mon Sep 17 00:00:00 2001 From: xiaohang Date: Sun, 17 Sep 2023 21:45:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/IMessageSender.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Runtime/IMessageSender.cs b/Runtime/IMessageSender.cs index 60dd7d4..8ac6e00 100644 --- a/Runtime/IMessageSender.cs +++ b/Runtime/IMessageSender.cs @@ -30,7 +30,7 @@ namespace DofLibrary /// 玩家ID /// 玩家昵称 /// 玩家国家 - void PlayerEnter(string roomId, string uid, string nickName, string country); + void PlayerEnter(string roomId, string uid, string nickName, string country, string appId, string token); /// /// 发送 LevelPrepared 关卡准备完毕 消息 @@ -43,7 +43,7 @@ namespace DofLibrary /// /// 当前关卡ID /// 点位编号 - void PointFound(string levelId, int pointId); + void PointFound(string levelId, int pointId, float combo); /// /// 发送 LevelEnd 关卡结束 消息 @@ -54,6 +54,11 @@ namespace DofLibrary /// /// 发送 AllLevelEnd 所有关卡结束 消息 /// - void AllLevelEnd(); + void AllLevelEnd(float timeSpent); + + /// + /// 发送心跳包 + /// + void Heartbeat(long timestamp) } } \ No newline at end of file