// Copyright (c) 2017 PSForever
package services.galaxy

import net.psforever.objects.Vehicle
import net.psforever.packet.game.{BuildingInfoUpdateMessage, PlanetSideGUID}

final case class GalaxyServiceMessage(forChannel : String, actionMessage : GalaxyAction.Action)

object GalaxyServiceMessage {
  def apply(actionMessage : GalaxyAction.Action) : GalaxyServiceMessage = GalaxyServiceMessage("", actionMessage)
}

object GalaxyAction {
  trait Action

  final case class MapUpdate(msg: BuildingInfoUpdateMessage) extends Action

  final case class TransferPassenger(player_guid : PlanetSideGUID, temp_channel : String, vehicle : Vehicle, vehicle_to_delete : PlanetSideGUID) extends Action
}
