public void setCoreObjects(FinalFantasyXIVMemory mem) { this.memory = mem; this.keyboard = new FinalFantasyKeyboard(this.gkeys); // configure movement this.movement = new Movement(this.memory, this.keyboard); this.movement.setDelegates(this.waypointReached, this.startMovingToWaypoint, this.movingStopped, this.movingToWaypoint, this.singleMovementFinished); this.movement.setDataSource(this.numberOfWaypoints, this.waypointAtIndex); this.fullLoaded(); }
public void updateData(FinalFantasyXIVMemory mem) { this.name = mem.entityName(baseAddress); this.position = mem.entityposition(baseAddress); this.visibleStatus = mem.entityVisibleStatus(baseAddress); this.typeId = mem.entityTypeId(baseAddress); this.uniqueId = mem.entityUniqueId(baseAddress); this.interacrtionId = mem.entityInteractionId(baseAddress); PlayerPosition pos = mem.position(); this.distance = (Single)pos.distanceBetweenPosition(this.position); }
public EntityForm(FinalFantasyXIVMemory memory) { this.memory = memory; this.TopMost = true; InitializeComponent(); this.closeButton = new Controls.ImageButton(); this.closeButton.Parent = this; this.closeButton.ForeColor = Color.Transparent; this.closeButton.BackgroundImage = global::FFXIV_netBot.Properties.Resources.closeBtn; this.closeButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.closeButton.Location = new System.Drawing.Point(740, 11); this.closeButton.Name = "button1"; this.closeButton.Size = new System.Drawing.Size(19, 18); this.closeButton.TabStop = false; this.closeButton.Click += new System.EventHandler(this.exitPressed); this.Controls.Add(this.closeButton); }
public EntityList(FinalFantasyXIVMemory memory) { this.list = new List <EntityItem>(); this.memory = memory; }
public EntityItem(IntPtr baseAddress, FinalFantasyXIVMemory mem) { this.baseAddress = baseAddress; this.updateData(mem); }