tcp发送增加ar视频播放帧数&首页布局还原到初版
This commit is contained in:
1 parent
3532978762
commit
4a3542010f
18 files changed
+1937
-1788
No files matched your search
@@ -207,7 +207,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
/// <param name="exit">是否退出</param>
|
||||
public static void Send(int RouteId, int MemberId, double[] Point, bool IsCompleted = false, bool exit = false,
|
||||
double endDistance = 0, bool showVirtual = false, byte commandType = 1, double speed = 0, bool isVirtual = false, double preDistance = 0,
|
||||
double weightKg = 0, int competitionId = 0, bool saved = false,double? heartRate = 0, double power = 0, double? cadence = 0,int totalTicks = 0)
|
||||
double weightKg = 0, int competitionId = 0, bool saved = false,double? heartRate = 0, double power = 0, double? cadence = 0,int totalTicks = 0, int frameRate = 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -235,6 +235,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
WeightKg = weightKg,
|
||||
Competitionid = competitionId,
|
||||
Saved = saved,
|
||||
FrameRate = frameRate
|
||||
//V = 1
|
||||
};
|
||||
var sendBytes = Encoding.UTF8.GetBytes(Newtonsoft.Json.JsonConvert.SerializeObject(model));
|
||||
@@ -491,6 +492,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
}
|
||||
user.IsWatcher = user.WatcherList.Contains(item.MemberId);
|
||||
user.CreateTime = DateTime.MaxValue;
|
||||
user.FrameRate = item.FrameRate;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user