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)); }
void UserBO_OnUserCreated(AuthUser newUser) { DataForNewUser data = ProxyConverter.GetDataForNewUser(newUser); CreateInstruct(0, InstructType.User_Create, data); }