chore: remove useless parentheses
This commit is contained in:
parent
0527a3ef80
commit
2f342d2b4a
@ -256,7 +256,7 @@ namespace XivCommon.Functions.ContextMenu {
|
|||||||
private static unsafe (uint itemId, uint itemAmount, bool itemHq) GetInventoryAgentInfo(IntPtr agent) {
|
private static unsafe (uint itemId, uint itemAmount, bool itemHq) GetInventoryAgentInfo(IntPtr agent) {
|
||||||
var itemId = *(uint*) (agent + ItemIdOffset);
|
var itemId = *(uint*) (agent + ItemIdOffset);
|
||||||
var itemAmount = *(uint*) (agent + ItemAmountOffset);
|
var itemAmount = *(uint*) (agent + ItemAmountOffset);
|
||||||
var itemHq = (*(byte*) (agent + ItemHqOffset)) == 1;
|
var itemHq = *(byte*) (agent + ItemHqOffset) == 1;
|
||||||
return (itemId, itemAmount, itemHq);
|
return (itemId, itemAmount, itemHq);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user