protected override void Format02Handler(LoginClient client, ClientFormat02 format) { client.CreateInfo = format; var aisling = StorageManager.AislingBucket.Load(format.AislingUsername); if (aisling == null) { client.SendMessageBox(0x00, "\0"); } else { client.SendMessageBox(0x03, "Character Already Exists.\0"); client.CreateInfo = null; } }
/// <summary> /// Login Client - Create New Aisling, Choose Username/password. /// </summary> protected override void Format02Handler(LoginClient client, ClientFormat02 format) { //save information to memory. client.CreateInfo = format; client.SendMessageBox(0x00, "\0"); }
protected virtual void Format02Handler(TClient client, ClientFormat02 format) { }