Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private function _Str_24212(k:IMessageEvent):void
- {
- var _local_2:ObjectsRollingParser;
- var _local_3:Array;
- var _local_4:int;
- var _local_5:ObjectRolling;
- var _local_6:ObjectRolling;
- var _local_7:IRoomObject;
- var _local_8:String;
- var _local_9:IRoomInstance;
- if (this._roomCreator == null)
- {
- return;
- }
- if ((k is ObjectsRollingEvent))
- {
- _local_2 = (k as ObjectsRollingEvent).getParser();
- this._roomCreator._Str_5858(this._currentRoomId, _local_2.id, null, null, 1, null);
- this._roomCreator._Str_5858(this._currentRoomId, _local_2.id, null, null, 2, null);
- _local_3 = _local_2._Str_24284;
- _local_4 = 0;
- while (_local_4 < _local_3.length)
- {
- _local_5 = _local_3[_local_4];
- if (_local_5 != null)
- {
- this._roomCreator._Str_21600(this._currentRoomId, _local_5.id, _local_5.loc, _local_5.target);
- }
- _local_4++;
- }
- if (_local_2.avatar != null)
- {
- _local_6 = _local_2.avatar;
- this._roomCreator._Str_11976(this._currentRoomId, _local_6.id, _local_6.loc, _local_6.target);
- if (this._roomCreator)
- {
- _local_9 = this._roomCreator._Str_2881(this._currentRoomId);
- if (_local_9)
- {
- _local_7 = _local_9._Str_3299(_local_6.id, RoomObjectCategoryEnum.CONST_100);
- }
- }
- if (((!(_local_7 == null)) && (!(_local_7.getType() == RoomObjectUserTypes.MONSTERPLANT))))
- {
- switch (_local_6.movementType)
- {
- case ObjectRolling.MV:
- _local_8 = "mv";
- break;
- case ObjectRolling.SLD:
- _local_8 = "std";
- break;
- }
- this._roomCreator._Str_7176(this._currentRoomId, _local_6.id, _local_8);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement