Memo1

Last-modified: 2011-09-02 (金) 15:36:46

RunUO2.0から2.1へコンバート

   private ArrayList m_SBInfos = new ArrayList();
   protected override ArrayList SBInfos{ get { return m_SBInfos; } }

to

   private List<SBInfo> m_SBInfos = new List<SBInfo>();
   protected override List<SBInfo> SBInfos { get { return m_SBInfos; } }
   using System.Collections;

to

   using System.Collections.Generic;
   Tile[] tiles = map.Tiles.GetStaticTiles(vx, vy, true);

to

   StaticTile[] tiles = map.Tiles.GetStaticTiles(vx, vy, true);
   int id = tiles[i].ID & 0x7FFF;

to

   int id = tiles[i].ID;
   private List<string> m_CreaturesName;
   private List<IEntity> m_Creatures;

to

   private List<string> m_SpawnNames;
   private List<ISpawnable> m_Spawned;
   Tile[] tiles = map.Tiles.GetStaticTiles( from.X+x, from.Y+y, true );

to

   StaticTile[] tiles = map.Tiles.GetStaticTiles( from.X+x, from.Y+y, true );
   int id = tiles[i].ID & 0x7FFF;

to

   int id = tiles[i].ID;
   InitSpawn

to

   InitSpawner