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 $Invoke6(long instance, long *args) { FactionDecal.UpdateDeployableDecal(Marshal.PtrToStringUni(*(IntPtr *)args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1)), (UXGrid)GCHandledObjects.GCHandleToObject(args[2]), (IDeployableVO)GCHandledObjects.GCHandleToObject(args[3])); return(-1L); }
public unsafe static long $Invoke3(long instance, long *args) { FactionDecal.SetSpriteAndVisibility((UXSprite)GCHandledObjects.GCHandleToObject(*args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1))); return(-1L); }
public unsafe static long $Invoke2(long instance, long *args) { FactionDecal.SetDeployableDecalVisibiliy(Marshal.PtrToStringUni(*(IntPtr *)args), (UXGrid)GCHandledObjects.GCHandleToObject(args[1]), *(sbyte *)(args + 2) != 0); return(-1L); }
public unsafe static long $Invoke1(long instance, long *args) { FactionDecal.SetDeployableDecalVisibiliy((UXFactory)GCHandledObjects.GCHandleToObject(*args), *(sbyte *)(args + 1) != 0); return(-1L); }
public unsafe static long $Invoke0(long instance, long *args) { return(GCHandledObjects.ObjectToGCHandle(FactionDecal.GetDeployableDecalSpriteName((IDeployableVO)GCHandledObjects.GCHandleToObject(*args)))); }