Advertisement
Guest User

Untitled

a guest
May 15th, 2019
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private function _Str_24212(k:IMessageEvent):void
  2.         {
  3.             var _local_2:ObjectsRollingParser;
  4.             var _local_3:Array;
  5.             var _local_4:int;
  6.             var _local_5:ObjectRolling;
  7.             var _local_6:ObjectRolling;
  8.             var _local_7:IRoomObject;
  9.             var _local_8:String;
  10.             var _local_9:IRoomInstance;
  11.             if (this._roomCreator == null)
  12.             {
  13.                 return;
  14.             }
  15.             if ((k is ObjectsRollingEvent))
  16.             {
  17.                 _local_2 = (k as ObjectsRollingEvent).getParser();
  18.                 this._roomCreator._Str_5858(this._currentRoomId, _local_2.id, null, null, 1, null);
  19.                 this._roomCreator._Str_5858(this._currentRoomId, _local_2.id, null, null, 2, null);
  20.                 _local_3 = _local_2._Str_24284;
  21.                 _local_4 = 0;
  22.                 while (_local_4 < _local_3.length)
  23.                 {
  24.                     _local_5 = _local_3[_local_4];
  25.                     if (_local_5 != null)
  26.                     {
  27.                         this._roomCreator._Str_21600(this._currentRoomId, _local_5.id, _local_5.loc, _local_5.target);
  28.                     }
  29.                     _local_4++;
  30.                 }
  31.                 if (_local_2.avatar != null)
  32.                 {
  33.                     _local_6 = _local_2.avatar;
  34.                     this._roomCreator._Str_11976(this._currentRoomId, _local_6.id, _local_6.loc, _local_6.target);
  35.                     if (this._roomCreator)
  36.                     {
  37.                         _local_9 = this._roomCreator._Str_2881(this._currentRoomId);
  38.                         if (_local_9)
  39.                         {
  40.                             _local_7 = _local_9._Str_3299(_local_6.id, RoomObjectCategoryEnum.CONST_100);
  41.                         }
  42.                     }
  43.                     if (((!(_local_7 == null)) && (!(_local_7.getType() == RoomObjectUserTypes.MONSTERPLANT))))
  44.                     {
  45.                         switch (_local_6.movementType)
  46.                         {
  47.                             case ObjectRolling.MV:
  48.                                 _local_8 = "mv";
  49.                                 break;
  50.                             case ObjectRolling.SLD:
  51.                                 _local_8 = "std";
  52.                                 break;
  53.                         }
  54.                         this._roomCreator._Str_7176(this._currentRoomId, _local_6.id, _local_8);
  55.                     }
  56.                 }
  57.             }
  58.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement