You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
560 B
20 lines
560 B
using System.Collections; |
|
using System.Collections.Generic; |
|
using UnityEngine; |
|
using AX.NetworkSystem; |
|
using AX.Serialization; |
|
using AX.Network.Protocols; |
|
using System; |
|
|
|
public class ARRIVAL_TIME_REPLY : NetworkMessageBehaviour |
|
{ |
|
protected override void Execute(BinaryMessage message) |
|
{ |
|
var data = message.Body.Deserialize<ArrivalTimePair>(); |
|
if (data.arrived) |
|
{ |
|
string team = CurrentUserInfo.room.FindUserById(data.receiver).Org.DisplayName; |
|
OnwayForceTotal.RemoveArrivedCar(team); |
|
} |
|
} |
|
}
|
|
|