mirror of
https://github.com/Ratstail91/Mementos.git
synced 2025-11-29 02:24:28 +11:00
31 lines
777 B
C#
31 lines
777 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Ink.Parsed
|
|
{
|
|
public class ExternalDeclaration : Parsed.Object, INamedContent
|
|
{
|
|
public string name
|
|
{
|
|
get { return identifier?.name; }
|
|
}
|
|
public Identifier identifier { get; set; }
|
|
public List<string> argumentNames { get; set; }
|
|
|
|
public ExternalDeclaration (Identifier identifier, List<string> argumentNames)
|
|
{
|
|
this.identifier = identifier;
|
|
this.argumentNames = argumentNames;
|
|
}
|
|
|
|
public override Ink.Runtime.Object GenerateRuntimeObject ()
|
|
{
|
|
story.AddExternal (this);
|
|
|
|
// No runtime code exists for an external, only metadata
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
|