Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
 public unsafe static long $Invoke3(long instance, long *args)
 {
     FactionDecal.SetSpriteAndVisibility((UXSprite)GCHandledObjects.GCHandleToObject(*args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1)));
     return(-1L);
 }