Add decoder for OP_Animation for RoF/RoF2

This commit is contained in:
Michael Cook (mackal)
2015-04-06 21:46:37 -04:00
parent 979590db9f
commit 739a7b6f75
4 changed files with 37 additions and 11 deletions
+12
View File
@@ -4269,6 +4269,18 @@ namespace RoF2
FINISH_DIRECT_DECODE();
}
DECODE(OP_Animation)
{
DECODE_LENGTH_EXACT(structs::Animation_Struct);
SETUP_DIRECT_DECODE(Animation_Struct, structs::Animation_Struct);
IN(spawnid);
IN(action);
IN(speed);
FINISH_DIRECT_DECODE();
}
DECODE(OP_ApplyPoison)
{
DECODE_LENGTH_EXACT(structs::ApplyPoison_Struct);