Beispiel #1
0
 public static BuffDataCore Instance()
 {
     if (null == s_instnce || !s_instnce.InitFlag)
     {
         lock (s_lockObj)
         {
             if (null == s_instnce || !s_instnce.InitFlag)
             {
                 s_instnce = new BuffDataCore();
             }
         }
     }
     return(s_instnce);
 }
Beispiel #2
0
 public void SyncBuffMembers(Guid managerId, DTOBuffMemberView buffData, string siteId = "")
 {
     s_tpBuffMember.Add(() => BuffDataCore.Instance().SyncMembersCore(managerId, buffData, siteId));
 }
Beispiel #3
0
 public void SetBuffMembers(Guid managerId)
 {
     s_tpBuffMember.Add(() => BuffDataCore.Instance().SetMembersCore(managerId));
 }