Beispiel #1
0
        public static List <string> GetAssetNames(IAssetVO asset)
        {
            List <string> list = new List <string>();

            if (asset is ProjectileTypeVO)
            {
                ProjectileUtils.AddProjectileAssetNames((ProjectileTypeVO)asset, list);
            }
            else if (asset is BuffTypeVO)
            {
                ProjectileUtils.AddBuffProjectileAssetNames((BuffTypeVO)asset, list);
            }
            return(list);
        }
Beispiel #2
0
 public unsafe static long $Invoke1(long instance, long *args)
 {
     ProjectileUtils.AddBuffProjectileAssetNames((BuffTypeVO)GCHandledObjects.GCHandleToObject(*args), (List <string>)GCHandledObjects.GCHandleToObject(args[1]));
     return(-1L);
 }