コード例 #1
0
 public string GetCurEquipIcon(int indexSlot)
 {
     if (OtherRoleViewLogic.Instance())
     {
         int index = OtherRoleViewLogic.Instance().GetIndexByEquipSlot(indexSlot);
         return(OtherRoleViewLogic.Instance().GetEquipSlotIcon(index));
     }
     return("");
 }
コード例 #2
0
    public static void OnShowOtherRoleVirew(bool bSuccess, object param)
    {
        if (!bSuccess)
        {
            LogModule.ErrorLog("load OtherRoleViewLogic error");
            return;
        }

        if (null != OtherRoleViewLogic.Instance())
        {
            OtherRoleViewLogic.Instance().ShowOtherRoleView();
        }
    }