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