Exemplo n.º 1
0
        public Connection(Socket socket, OtItems items)
        {
            this.socket = socket;
            this.items  = items;

            message = new InMessage();
            map     = new OtMap(items);

            BeginReceive();
        }
Exemplo n.º 2
0
        void MainForm_Load(object sender, EventArgs e)
        {
            LoadItems();
            NpcWordList.Load();

            map = new OtMap(otItems);
            map.Descriptions.Add("Created with SharpMapTracker v" + Constants.MAP_TRACKER_VERSION);

            npcs = new Dictionary <string, NpcInfo>();

            miniMap.Map = map;

            mapShare = new MapShare();
            mapShare.Start();
        }