OnLoginNotify() public static method

Occurs when the client has been sucessfully authenticated by the loginserver. Called by UILoginDialog.cs.
public static OnLoginNotify ( NetworkClient Client, GonzoNet.ProcessedPacket Packet ) : void
Client GonzoNet.NetworkClient The client that received the packet.
Packet GonzoNet.ProcessedPacket The packet that was received.
return void
コード例 #1
0
 public void _OnLoginNotify(NetworkClient Client, ProcessedPacket packet)
 {
     if (OnLoginProgress != null)
     {
         UIPacketHandlers.OnLoginNotify(NetworkFacade.Client, packet);
         OnLoginProgress(new ProgressEvent(EventCodes.PROGRESS_UPDATE)
         {
             Done = 2, Total = 5
         });
     }
     else
     {
         //TODO: Error handling...
     }
 }