public Item GetItemAt(int mouseX, int mouseY) { var tmp = AsDynamic._GetItemAt(mouseX, mouseY); if (tmp == null) { return(null); } return(new Item(Parent, tmp)); }
public void SetItem(int idx, Item item) { var set = item?.Underlying; AsDynamic._GetItems()[idx] = set; }
public void SetToolInToolBox(int idx, Tool t) { AsDynamic._GetToolBox()[idx] = t?.Underlying; }
public void ReceiveChatMessage(string message, long who) { AsDynamic._ReceiveChatMessage(message, who); }
public bool TryToAddDrinkBuff(Buff buff) { return(AsDynamic._TryToAddDrinkBuff(buff?.Underlying)); }
public void AddHudMessage(HudMessage value) { AsDynamic._AddHUDMessage(value?.Underlying); }
public bool AddOtherBuff(Buff buff) { return(AsDynamic._AddOtherBuff(buff?.Underlying)); }
public bool TryToAddFoodBuff(Buff buff, int duration) { return(AsDynamic._TryToAddFoodBuff(buff?.Underlying, duration)); }
public void GrowWeedGrass(int iterations) { AsDynamic._GrowWeedGrass(iterations); }
public void ExitThisMenu(bool playSound = true) { AsDynamic._ExitThisMenu(playSound); }
public string GetTileProperty(int tileX, int tileY, string propName, string layerName) { return(AsDynamic._GetTileProperty(tileX, tileY, propName, layerName)); }
public void AddHoeDirtAt(Vector2 tileLocation) { AsDynamic._MakeHoeDirt(tileLocation); }
public bool Harvest(int xTile, int yTile, object soil) { return(AsDynamic._Harvest(xTile, yTile, soil)); }
/// <summary> /// Grows the crop completely instantly /// </summary> public void GrowCompletely() { AsDynamic._GrowCompletely(); }
public StaticContext GetGame() { return(new StaticContext(AsDynamic._GetGame())); }