mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-03-13 09:20:36 +00:00
field names and comments
This commit is contained in:
parent
c648b9deff
commit
0b0507617a
1 changed files with 8 additions and 8 deletions
|
|
@ -9,19 +9,19 @@ import scodec.codecs._
|
|||
/**
|
||||
* Dispatched from the server to render the projectiles of one player's weapon on other players' clients.
|
||||
* @param projectile_guid the projectile
|
||||
* @param origin a spawning position for the projectile
|
||||
* @param orient a directional heading for the projectile
|
||||
* @param shot_origin a spawning position for the projectile
|
||||
* @param shot_vector a directional heading for the projectile
|
||||
* @param unk1 na;
|
||||
* rarely not 0
|
||||
* usually 0
|
||||
* @param unk2 na
|
||||
* @param unk3 na
|
||||
* @param unk4 na;
|
||||
* rarely not false
|
||||
* usually false
|
||||
* @param unk5 na
|
||||
*/
|
||||
final case class ProjectileStateMessage(projectile_guid : PlanetSideGUID,
|
||||
origin : Vector3,
|
||||
orient : Vector3,
|
||||
shot_origin : Vector3,
|
||||
shot_vector : Vector3,
|
||||
unk1 : Int,
|
||||
unk2 : Int,
|
||||
unk3 : Int,
|
||||
|
|
@ -36,8 +36,8 @@ final case class ProjectileStateMessage(projectile_guid : PlanetSideGUID,
|
|||
object ProjectileStateMessage extends Marshallable[ProjectileStateMessage] {
|
||||
implicit val codec : Codec[ProjectileStateMessage] = (
|
||||
("projectile_guid" | PlanetSideGUID.codec) ::
|
||||
("origin" | Vector3.codec_pos) ::
|
||||
("orient" | Vector3.codec_float) ::
|
||||
("shot_origin" | Vector3.codec_pos) ::
|
||||
("shot_vector" | Vector3.codec_float) ::
|
||||
("unk1" | uint8L) ::
|
||||
("unk2" | uint8L) ::
|
||||
("unk3" | uint8L) ::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue