MCPcopy Create free account
hub / github.com/TurningWheel/Barony / setScriptType

Method setScriptType

src/entity.hpp:1716–1720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1714 return ((skill & 0xF000) >> 12);
1715 }
1716 void setScriptType(Sint32& skill, int setValue)
1717 {
1718 skill &= 0xFFFFFFF0;
1719 skill |= (setValue & 0xF);
1720 }
1721 void setAttachedToEntityType(Sint32& skill, int setValue)
1722 {
1723 skill &= 0xFFFFF00F;

Callers 3

actTextSourceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected