// Copyright (c) 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.Entities; namespace Game.Groups { public class GroupReference : Reference { public GroupReference() { iSubGroup = 0; } public void Dispose() { Unlink(); } public override void TargetObjectBuildLink() { GetTarget().LinkMember(this); } public override void TargetObjectDestroyLink() { GetTarget()?.DelinkMember(GetSource().GetGUID()); } public byte GetSubGroup() { return iSubGroup; } public void SetSubGroup(byte pSubGroup) { iSubGroup = pSubGroup; } byte iSubGroup; } public class GroupRefManager : RefManager { } }