public static void UpdateDeployableDecal(string itemUid, string name, UXGrid grid, IDeployableVO deployableVO) { string deployableDecalSpriteName = FactionDecal.GetDeployableDecalSpriteName(deployableVO); string name2 = UXUtils.FormatAppendedName("SpriteHeroDecal", name); FactionDecal.SetSpriteAndVisibility(grid.GetSubElement <UXSprite>(itemUid, name2), deployableDecalSpriteName); }
public static void UpdateDeployableDecal(string itemUid, UXGrid grid, IDeployableVO deployableVO, string elementName) { string deployableDecalSpriteName = FactionDecal.GetDeployableDecalSpriteName(deployableVO); FactionDecal.SetSpriteAndVisibility(grid.GetSubElement <UXSprite>(itemUid, elementName), deployableDecalSpriteName); }
public unsafe static long $Invoke3(long instance, long *args) { FactionDecal.SetSpriteAndVisibility((UXSprite)GCHandledObjects.GCHandleToObject(*args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1))); return(-1L); }