Requested changes

This commit is contained in:
Chord 2017-03-05 11:59:30 -05:00
parent 04ae44c3a9
commit c41f0b41bd

View file

@ -4,7 +4,6 @@ package net.psforever.packet.game
import net.psforever.packet.{GamePacketOpcode, Marshallable, PacketHelpers, PlanetSideGamePacket} import net.psforever.packet.{GamePacketOpcode, Marshallable, PacketHelpers, PlanetSideGamePacket}
import scodec.Codec import scodec.Codec
import scodec.codecs._ import scodec.codecs._
import net.psforever.packet.game.LoginRespMessage.{LoginError,StationError,StationSubscriptionStatus}
/** /**
* This message is sent from the server to the client upon reception of a [[LoginMessage]]. * This message is sent from the server to the client upon reception of a [[LoginMessage]].
@ -29,9 +28,9 @@ import net.psforever.packet.game.LoginRespMessage.{LoginError,StationError,Stati
* @param privilege If set above 10000, then the user has access to GM commands. Not sure of other values. * @param privilege If set above 10000, then the user has access to GM commands. Not sure of other values.
*/ */
final case class LoginRespMessage(token : String, final case class LoginRespMessage(token : String,
error : LoginError.Type, error : LoginRespMessage.LoginError.Type,
stationError : StationError.Type, stationError : LoginRespMessage.StationError.Type,
subscriptionStatus : StationSubscriptionStatus.Type, subscriptionStatus : LoginRespMessage.StationSubscriptionStatus.Type,
unkUIRelated : Long, unkUIRelated : Long,
username : String, username : String,
privilege : Long) extends PlanetSideGamePacket { privilege : Long) extends PlanetSideGamePacket {