private void ClientRemote_OnDroneAbandoned(IProtoItemDrone protoItemDrone) { NotificationSystem.ClientShowNotification( Notification_DroneDeactivated_Title, Notification_DroneDeactivated_Message, NotificationColor.Bad, protoItemDrone.Icon) .HideAfterDelay(delaySeconds: 120); }
public static void ServerSetup(IItem item, IProtoItemDrone protoItemDrone) { GetPublicState(item).ProtoItemDrone = protoItemDrone; }