Esempio n. 1
0
        public static List <IAssetVO> GetEffectAssetTypes()
        {
            List <IAssetVO> list = new List <IAssetVO>();

            list.Add(FXUtils.GetAssetType <BuildingTypeVO>("rebelRubbleWall1"));
            list.Add(FXUtils.GetAssetType <EffectsTypeVO>("effect176"));
            for (int i = 1; i < 6; i++)
            {
                string uid = string.Format("fx_debris_{0}x{1}", i, i);
                list.Add(FXUtils.GetAssetType <EffectsTypeVO>(uid));
                string uid2 = string.Format("rebelRubble{0}", i);
                list.Add(FXUtils.GetAssetType <BuildingTypeVO>(uid2));
            }
            return(list);
        }
Esempio n. 2
0
 public unsafe static long $Invoke5(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.MakeAssetKey(Marshal.PtrToStringUni(*(IntPtr *)args), *(*(IntPtr *)(args + 1)))));
 }
Esempio n. 3
0
 public unsafe static long $Invoke4(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.MakeAssetKey(Marshal.PtrToStringUni(*(IntPtr *)args), (Entity)GCHandledObjects.GCHandleToObject(args[1]))));
 }
Esempio n. 4
0
 public unsafe static long $Invoke3(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.GetRubbleAssetNameForEntity((SmartEntity)GCHandledObjects.GCHandleToObject(*args))));
 }
Esempio n. 5
0
 public unsafe static long $Invoke2(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.GetEffectAssetTypes()));
 }
Esempio n. 6
0
 public unsafe static long $Invoke1(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.GetDebrisAssetNameForEntity((SmartEntity)GCHandledObjects.GCHandleToObject(*args), *(sbyte *)(args + 1) != 0)));
 }
Esempio n. 7
0
 public unsafe static long $Invoke0(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.ConvertHexStringToColorObject(Marshal.PtrToStringUni(*(IntPtr *)args))));
 }