コード例 #1
0
ファイル: DungeonInstance.cs プロジェクト: NVN/WCell
		protected void Bind(IInstanceHolderSet holder)
		{
            if (holder.InstanceLeader.Group != null)
            {
                holder.InstanceLeader.Group.ForeachCharacter((chr) => {
					var instances = chr.Instances;
                    if (instances != null)
                    {
						instances.BindTo(this);
                    }
                });
            }
            else
            {
                holder.InstanceLeaderCollection.BindTo(this);
            }
		}
コード例 #2
0
ファイル: BaseInstance.cs プロジェクト: NecroSharper/WCell
 protected void Bind(IInstanceHolderSet holder)
 {
     if (holder.InstanceLeader.Group != null)
     {
         holder.InstanceLeader.Group.ForeachCharacter((chr) =>
         {
             var instances = chr.Instances;
             if (instances != null)
             {
                 instances.BindTo(this);
             }
         });
     }
     else
     {
         holder.InstanceLeaderCollection.BindTo(this);
     }
 }
コード例 #3
0
ファイル: BaseInstance.cs プロジェクト: 0xFh/Asda2-Project
 protected void Bind(IInstanceHolderSet holder)
 {
     if (holder.InstanceLeader.Group != null)
     {
         holder.InstanceLeader.Group.ForeachCharacter(chr =>
         {
             InstanceCollection instances = chr.Instances;
             if (instances == null)
             {
                 return;
             }
             instances.BindTo(this);
         });
     }
     else
     {
         holder.InstanceLeaderCollection.BindTo(this);
     }
 }
コード例 #4
0
ファイル: BaseInstance.cs プロジェクト: MeaNone/WCell
		protected override void Dispose()
		{
			base.Dispose();
			m_owner = null;
		}
コード例 #5
0
ファイル: BaseInstance.cs プロジェクト: 0xFh/Asda2-Project
 protected override void Dispose()
 {
     base.Dispose();
     m_owner = null;
 }
コード例 #6
0
ファイル: BaseInstance.cs プロジェクト: uvbs/Asda2-Server
 protected override void Dispose()
 {
     base.Dispose();
     this.m_owner = (IInstanceHolderSet)null;
 }