Files
CypherCore/Source/Game/Groups/GroupInstanceReference.cs
T

21 lines
597 B
C#

// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
using Framework.Dynamic;
using Game.Maps;
namespace Game.Groups
{
public class GroupInstanceReference : Reference<Group, InstanceMap>
{
public void Dispose() { Unlink(); }
public override void TargetObjectBuildLink()
{
GetTarget().LinkOwnedInstance(this);
}
}
class GroupInstanceRefManager : RefManager<GroupInstanceReference> { }
}