Пример #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);
        }
Пример #2
0
 public unsafe static long $Invoke6(long instance, long *args)
 {
     ProjectileUtils.AddProjectileAssetNames((ProjectileTypeVO)GCHandledObjects.GCHandleToObject(*args), (List <string>)GCHandledObjects.GCHandleToObject(args[1]));
     return(-1L);
 }