Пример #1
0
 public void AccessDeniedMessage(string errormessage)
 {
     string[] error=errormessage.Split('#');
     ErrorInfo ei=new ErrorInfo();
     ei.errorcode = error [0];
     ei.error_description = error [1];
     vkapi.onAccessDenied (ei);
 }
Пример #2
0
        public void onAccessDenied(ErrorInfo e)
        {
            if (AccessDenied != null) {
                AccessDenied (this, e);

            }
            Debug.Log("Access denied1 "+e.error_description);
        }