static void OnLoadItemShare(bool bSuccess, object item) { if (!bSuccess) { LogModule.ErrorLog("load ShareTargetChooseRoot fail"); } GameItem curItem = item as GameItem; if (ShareTargetChooseLogic.Instance() != null) { ShareTargetChooseLogic.Instance().InitItemShareInfo(curItem); } }
static void OnLoadGuildShare(bool bSuccess, object item) { if (!bSuccess) { LogModule.ErrorLog("load ShareTargetChooseRoot fail"); } UInt64 guildId = Convert.ToUInt64(item); if (ShareTargetChooseLogic.Instance() != null) { ShareTargetChooseLogic.Instance().InitGuildShareInfo(guildId); } }