예제 #1
0
 private void OnUserLogin(UserLogicModel user, SiteLoginRequest data)
 {
     mySiteClientManager.SendLoginResponse(user);
 }
예제 #2
0
 private void OnUserLogin(UserLogicModel user, SiteLoginRequest data)
 {
     myDataManager.SiteData.User_GetFirstByUsernamePassword(user.UserName,
                                                            user.Password,
                                                            (users) =>
                                                            {
                                                                mySiteClientManager.SendLoginResponse(user, users.Count != 0);
                                                            });
 }