ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/OniSplit/Metadata/MetaPointer.cs
Revision: 1114
Committed: Wed Jan 22 14:08:57 2020 UTC (5 years, 8 months ago) by iritscen
File size: 447 byte(s)
Log Message:
Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.

File Contents

# Content
1 namespace Oni.Metadata
2 {
3 internal class MetaPointer : MetaType
4 {
5 private readonly TemplateTag tag;
6
7 internal MetaPointer(TemplateTag tag) : base("Link", 4)
8 {
9 this.tag = tag;
10 }
11
12 protected override bool IsLeafImpl() => false;
13
14 public TemplateTag Tag => tag;
15
16 public override void Accept(IMetaTypeVisitor visitor) => visitor.VisitPointer(this);
17 }
18 }