question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change/expose Harmony ID

See original GitHub issue

see https://github.com/CitiesSkylinesMods/TMPE/pull/866#discussion_r427456974 Other mods can use Harmony ID to control priorities using [HarmonyBefore()] and [HarmonyAfter()] attributes see https://harmony.pardeike.net/articles/priorities.html

Attributes require compile time constants so we cannot evaluate the string runtime.

Argument could be made that the harmony string should be in TMPE.API although I believe tits better that other mods just copy paste the string.

For the sake of backward compatibility the value of Harmony ID should not change.

The harmony ID currently is de.viathinksoft.tmpe.

Since according to this github search the only mod that is using harmony id is my node controller. it should not cause too much trouble to change this one last time. I can modify my code to include both IDs 😃 .

[HarmonyBefore("de.viathinksoft.tmpe")]
[HarmonyBefore("new harmony ID")]
...

But what should be the new Harmony ID value? we better give it a good thought so that we don’t change it again!

harmony documentation says:

var harmony = HarmonyInstance.Create("com.company.project.product"); The id should be in reverse domain notation and must be unique. In order to understand and react on existing patches of others, all patches in Harmony are bound to that id.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
kianzarrincommented, May 20, 2020

@kvakvs @krzychu124 Do you all agree with me.tmpe ?

0reactions
krzychu124commented, Mar 5, 2022

yeah, I’ll send PR 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change your Harmony Email ID
If you need to update the email address used as your Harmony user login, you can do so from either the MyHarmony desktop...
Read more >
Untitled
Water rights idaho, Alternative playlist. ... Uefa schedule malaysia time, Nicolas didelot, Seasons change expose wiki, #Siberian tigers hd, Sea to summit ...
Read more >
Untitled
Xbox 1 minecraft potions id, Kunci gitar wangsa tak bisa memilih mp3, ... Outdoor lounge music 2015, Fifth harmony miss movin on video...
Read more >
Untitled
Lineage 2 battle theme music, The bourne identity book pdf, ... Aranza vivir a destiempo youtube music, Fifth harmony anything can happen download...
Read more >
Economic System Map
Economic System Map - System Map - A tool to help build a shared understanding of our interconnected global economic system. Let's engage...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found