コード例 #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);
        }
コード例 #2
0
ファイル: FXUtils.cs プロジェクト: Hengle/swc-decompiled
 public unsafe static long $Invoke5(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.MakeAssetKey(Marshal.PtrToStringUni(*(IntPtr *)args), *(*(IntPtr *)(args + 1)))));
 }
コード例 #3
0
ファイル: FXUtils.cs プロジェクト: Hengle/swc-decompiled
 public unsafe static long $Invoke4(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.MakeAssetKey(Marshal.PtrToStringUni(*(IntPtr *)args), (Entity)GCHandledObjects.GCHandleToObject(args[1]))));
 }
コード例 #4
0
ファイル: FXUtils.cs プロジェクト: Hengle/swc-decompiled
 public unsafe static long $Invoke3(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.GetRubbleAssetNameForEntity((SmartEntity)GCHandledObjects.GCHandleToObject(*args))));
 }
コード例 #5
0
ファイル: FXUtils.cs プロジェクト: Hengle/swc-decompiled
 public unsafe static long $Invoke2(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.GetEffectAssetTypes()));
 }
コード例 #6
0
ファイル: FXUtils.cs プロジェクト: Hengle/swc-decompiled
 public unsafe static long $Invoke1(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.GetDebrisAssetNameForEntity((SmartEntity)GCHandledObjects.GCHandleToObject(*args), *(sbyte *)(args + 1) != 0)));
 }
コード例 #7
0
ファイル: FXUtils.cs プロジェクト: Hengle/swc-decompiled
 public unsafe static long $Invoke0(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(FXUtils.ConvertHexStringToColorObject(Marshal.PtrToStringUni(*(IntPtr *)args))));
 }