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