Packet: GenericCollisionMsg (#105)

* added new GenericCollisionMsg packet

* added standard comments and a message display case

* rebased GenericCollisionMsg

* minor corrections

* creating a Vector3 codec for leveraging float values
This commit is contained in:
Fate-JH 2017-03-05 16:27:37 -05:00 committed by pschord
parent 6ada7c9a92
commit aece1e1aab
5 changed files with 117 additions and 2 deletions

View file

@ -370,6 +370,9 @@ class WorldSessionActor extends Actor with MDCContextAware {
case msg @ SquadDefinitionActionMessage(a, b, c, d, e, f, g, h, i) =>
log.info("SquadDefinitionAction: " + msg)
case msg @ GenericCollisionMsg(u1, p, t, php, thp, pvx, pvy, pvz, tvx, tvy, tvz, ppos, tpos, u2, u3, u4) =>
log.info("Ouch! " + msg)
case msg @ BugReportMessage(version_major,version_minor,version_date,bug_type,repeatable,location,zone,pos,summary,desc) =>
log.info("BugReportMessage: " + msg)
@ -377,7 +380,6 @@ class WorldSessionActor extends Actor with MDCContextAware {
log.info("BindPlayerMessage: " + msg)
case default => log.error(s"Unhandled GamePacket ${pkt}")
}
def failWithError(error : String) = {