327 {
328 HandEventSwap es = HandEventSwap.Cast(e);
329 if (es)
330 {
331 int animType1 = -1;
332 int animType2 = -1;
333 if (ProcessSwapEvent(e, animType1, animType2))
334 {
335 e.m_AnimationID = animType1;
336 es.m_Animation2ID = animType2;
337 return true;
338 }
339 }
340 else
341 Error(
"[hndfsm] HandSelectAnimationOfSwapInHandsEvent - not a swap event");
342 return false;
343 }
void Error(string err)
Messagebox with error message.