Пример #1
0
        public DataForNewUser User_GetDataForNewUser(int userID, bool getFriends)
        {
            if (!CheckClient())
            {
                return(null);
            }

            AuthUser user = UserBO.Instance.GetAuthUser(userID);

            if (user == null || user == MaxLabs.bbsMax.Entities.User.Guest)
            {
                return(null);
            }

            return(ProxyConverter.GetDataForNewUser(user));
        }
Пример #2
0
        void UserBO_OnUserCreated(AuthUser newUser)
        {
            DataForNewUser data = ProxyConverter.GetDataForNewUser(newUser);

            CreateInstruct(0, InstructType.User_Create, data);
        }