Home › Engine Lua tables › MapPinConfiguration

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

MapPinConfiguration

Object type with 12 methods. game scripts call these on map pin configuration variables; the exe registers a MapPinConfiguration type. Registering function 0x10e4b0.

Methods are called on a value of this type with a colon (obj:Method(...)).

Method Returns In game scripts Example Status
MapPinConfiguration:GetHexX(…) -> number number 6 calls, 2 files local x = pMapPin:GetHexX() inferred
MapPinConfiguration:GetHexY(…) -> number number 6 calls, 2 files local y = pMapPin:GetHexY() inferred
MapPinConfiguration:GetID(…) -> number number 1 calls, 1 files g_editPinID = pMapPin:GetID() inferred
MapPinConfiguration:GetIconName(…) -> 1 value 1 value 2 calls, 2 files local iconName = pMapPin:GetIconName() inferred
MapPinConfiguration:GetName(…) -> 1 value 1 value 2 calls, 2 files local nameString = pMapPin:GetName() inferred
MapPinConfiguration:GetPlayerID(…) -> number number not called — inferred
MapPinConfiguration:GetVisibility(…) -> number number 1 calls, 1 files MapPinVisibilityToPlayerTarget(pMapPin:GetVisibility() inferred
MapPinConfiguration:IsPrivate(…) -> boolean boolean not called — inferred
MapPinConfiguration:IsVisible(arg1, …) -> boolean boolean 1 calls, 1 files local showMapPin = pMapPin:IsVisible(localPlayerID) inferred
MapPinConfiguration:SetIconName(…) — not called — inferred
MapPinConfiguration:SetName(…) — not called — inferred
MapPinConfiguration:SetVisibility(…) — not called — inferred