赛事功能完善
创建比赛按钮;loading页面more按钮等
This commit is contained in:
1 parent
eed2d13624
commit
e76b5c443f
55 files changed
+7805
-3376
No files matched your search
@@ -189,7 +189,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 weightKg = 0, int competitionId = 0, bool saved = false,double? heartRate = 0, double power = 0, double? cadence = 0,int totalTicks = 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -206,6 +206,12 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
//ShowVirtual = showVirtual,
|
||||
CommandType = commandType,
|
||||
Speed = speed,
|
||||
|
||||
Power = power,
|
||||
Heart = heartRate,
|
||||
Cadence = cadence,
|
||||
TotalTicks = totalTicks,
|
||||
|
||||
//IsVirtual = isVirtual,
|
||||
PreDistance = preDistance,
|
||||
WeightKg = weightKg,
|
||||
@@ -393,6 +399,10 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
user.PreDistance = item.PreDistance;
|
||||
user.CompetitionId = item.Competitionid;
|
||||
user.Saved = item.Saved;
|
||||
user.Power = item.Power;
|
||||
user.HeartRate = item.HeartRate;
|
||||
user.Cadence = item.Cadence;
|
||||
user.TotalTicks = item.TotoalTicks;
|
||||
user.WatcherList = new List<int>();
|
||||
foreach (var o in item.WatchIdList.Split('|'))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user