mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-09 15:10:27 +00:00
Some little corrections (#91)
* Some little corrections * Update WorldSessionActor.scala Fate & Chord requests
This commit is contained in:
parent
5f02d73f99
commit
b00748727e
6 changed files with 36 additions and 17 deletions
|
|
@ -21,11 +21,11 @@ import scodec.codecs._
|
|||
* @param seq_time na
|
||||
* @param unk3 na
|
||||
* @param is_crouching whether the player is crouched
|
||||
* @param is_jumping na
|
||||
* @param unk4 na
|
||||
* @param unk5 na
|
||||
* @param is_cloaking whether the player is cloaked by virtue of an Infiltration Suit
|
||||
* @param unk5 na
|
||||
* @param unk6 na
|
||||
* @param unk7 na
|
||||
*/
|
||||
final case class PlayerStateMessageUpstream(avatar_guid : PlanetSideGUID,
|
||||
pos : Vector3,
|
||||
|
|
@ -36,11 +36,11 @@ final case class PlayerStateMessageUpstream(avatar_guid : PlanetSideGUID,
|
|||
seq_time : Int,
|
||||
unk3 : Int,
|
||||
is_crouching : Boolean,
|
||||
is_jumping : Boolean,
|
||||
unk4 : Boolean,
|
||||
unk5 : Boolean,
|
||||
is_cloaking : Boolean,
|
||||
unk6 : Int,
|
||||
unk7 : Int)
|
||||
unk5 : Int,
|
||||
unk6 : Int)
|
||||
extends PlanetSideGamePacket {
|
||||
type Packet = PlayerStateMessageUpstream
|
||||
def opcode = GamePacketOpcode.PlayerStateMessageUpstream
|
||||
|
|
@ -58,10 +58,10 @@ object PlayerStateMessageUpstream extends Marshallable[PlayerStateMessageUpstrea
|
|||
("seq_time" | uintL(10)) ::
|
||||
("unk3" | uintL(3)) ::
|
||||
("is_crouching" | bool) ::
|
||||
("is_jumping" | bool) ::
|
||||
("unk4" | bool) ::
|
||||
("unk5" | bool) ::
|
||||
("is_cloaking" | bool) ::
|
||||
("unk6" | uint8L) ::
|
||||
("unk7" | uint16L)
|
||||
("unk5" | uint8L) ::
|
||||
("unk6" | uint16L)
|
||||
).as[PlayerStateMessageUpstream]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ final case class ShiftState(unk : Int,
|
|||
final case class PlayerStateShiftMessage(state : Option[ShiftState],
|
||||
unk : Option[Int] = None)
|
||||
extends PlanetSideGamePacket {
|
||||
type Packet = TimeOfDayMessage
|
||||
type Packet = PlayerStateShiftMessage
|
||||
def opcode = GamePacketOpcode.PlayerStateShiftMessage
|
||||
def encode = PlayerStateShiftMessage.encode(this)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ import scodec.codecs._
|
|||
object TransactionType extends Enumeration {
|
||||
type Type = Value
|
||||
val Unk0,
|
||||
Unk1,
|
||||
Learn, // certif term or Buy (v-term)
|
||||
Buy,
|
||||
Sell,
|
||||
Sell, // or forget on certif term
|
||||
Unk4,
|
||||
Unk5,
|
||||
Infantry_Loadout,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue