public Connection(Socket socket, OtItems items) { this.socket = socket; this.items = items; message = new InMessage(); map = new OtMap(items); BeginReceive(); }
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(); }