Browse Source

活跃度

guodong 3 years ago
parent
commit
890ba646b1
1 changed files with 7 additions and 0 deletions
  1. 7 0
      GameClient/Assets/Game/HotUpdate/Data/RoleDataManager.cs

+ 7 - 0
GameClient/Assets/Game/HotUpdate/Data/RoleDataManager.cs

@@ -61,6 +61,13 @@ namespace GFGGame
                 return GameGlobal.myNumericComponent.GetAsInt(NumericType.DiamondR);
             }
         }
+        public static int Liveness
+        {
+            get
+            {
+                return GameGlobal.myNumericComponent.GetAsInt(NumericType.Liveness);
+            }
+        }
         private static string _lastRandomName = null;
 
         public static string RandomRoleName()