Ejemplo n.º 1
0
 //-------------------------------------------------
 #region Ordinary Methods Region
 public StrongString GetForServer()
 {
     if (!IsSpecial)
     {
         return(AvatarType.ToString());
     }
     else
     {
         return(AvatarType_S.ToString());
     }
 }
Ejemplo n.º 2
0
        //-------------------------------------------------
        #region Ordinary Methods Region
        public StrongString GetForServer()
        {
            switch (Kind)
            {
            case Avatar_Kind.Normal:
                return(AvatarType.ToString());

            case Avatar_Kind.Special:
                return(AvatarType_S.ToString());

            case Avatar_Kind.NPC:
                return(AvatarType_N.ToString());

            default:
                return(StrongString.Empty);
            }
        }